Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1605 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     Javascript :

Switching icons upon slide up & down

Thread title: Switching icons upon slide up & down
     
    Thread tools Search this thread Display Modes  
Prev Previous Post   Next Post Next
04-10-2009, 04:01 PM
#1
hijax is offline hijax
Status: Junior Member
Join date: Apr 2009
Location:
Expertise:
Software:
 
Posts: 32
iTrader: 1 / 100%
 

hijax is on a distinguished road

  Old  Switching icons upon slide up & down

What I'm struggling with is this...

I would like to have the icon that I hit (makes the div toggle up & down) to switch images when being up and being down(hide).

would I need to append the icon images in javascript within the line ?
or am I no where near?

$(document).ready(function () {
/* $("ul.menu_body li:even").addClass("alt");*/
$('img.menu_head5').click(function () {
$('.entry2').slideToggle('slow'); <--- here?


});
});

Reply With Quote
     


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed