[jQuery] Re: Switch image source during toggle

2009-10-15 Thread Gremlyn1
Hoping for some help still... I see the jQueryUI site has drop downs that do what I want, there has to be a plugin or an easy way to do this somewhere! I don't mind if i have to implement a new, full toggle script to do it either. On Oct 7, 8:53 am, Gremlyn1 greml...@gmail.com wrote: Bump? On

[jQuery] Re: Switch image source during toggle

2009-10-15 Thread Nikola
You could toggle classes making sure each class is styled with the appropriate image, use the css() method to change the background / background-image property or, if your working with an img element, you can use the attr() method to change the images src. On Oct 2, 12:26 pm, Gremlyn1

[jQuery] Re: Switch image source during toggle

2009-10-07 Thread Gremlyn1
Bump? On Oct 5, 3:19 pm, Gremlyn1 greml...@gmail.com wrote: Sure, as I said I have the following function in place: $j(document).ready(function() {     $j('#answerbox').hide();     $j('a.faq').click(function() {         var faq_id = $j(this).attr('id');         $j('#faq' +

[jQuery] Re: Switch image source during toggle

2009-10-05 Thread Gremlyn1
Sure, as I said I have the following function in place: $j(document).ready(function() { $j('#answerbox').hide(); $j('a.faq').click(function() { var faq_id = $j(this).attr('id'); $j('#faq' + faq_id).slideToggle(fast); return false; }); }); I would like to

[jQuery] Re: Switch image source during toggle

2009-10-02 Thread James
Could you post your relevant HTML also with some kind of sample image src and what you would like it to look like after it's been toggled? On Oct 2, 6:26 am, Gremlyn1 greml...@gmail.com wrote: I have some divs I am toggling and there is a little + sign image I want to change to a - sign image