View Full Version : Change image on Collapsible Frame

06-18-2008, 03:42 PM
Hello All,

Hope all is well. I am trying to create collapsible frame using sameple JS code provided at ( http://www.dynamicdrive.com/dynamici...llapsemain.htm ).

I was able to make use of it in my code but one thing I was unable to do is that ( I have 2 vertical Frames) , click on left Frame and then have Left arrow icon then frame should collapse (which I am able to achieve) but now I not only want the frame should collapse but the icon should change to Right Arrow Icon.

When user clicks on Right Arrow the frame should expand and the icon changes back to Left Arrow icon.

Would appreciate if you could please help me with the changes. I have attached two sample file that I am working with.

Thanks in advance,