Jquery accordion clicked header img change toggle?

$('. Head'). Click(function() { var img = $(this).

Find('img'); var url = (img. Attr('src')=='images/Header1_closed. Png')?'images/Header1_open.

Png' : 'images/Header1_closed. Png'; img. Attr('src',url); }).

It changes all the head ids to the same image. I need them to change each of the clicked ones to a specifice one. – reinhat Jun 17 at 20:49.

Not sure if this is what your exactly looking from but there's a jQuery plugin called Slidorion which combines and image slider and an accordian. Might be worth checking out: slidorion.com.

I have an accordion menu group made up of images. All the sections are closed at start, when one of the accordion sections is clicked/opened I want to change the image source of the just clicked header image and of course change it back later if the section is closed. How can I add this to the accordion?

Thank you in advance.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions