View Full Version : Images for contractible headers + content

10-31-2005, 01:20 PM
Hi please would you assist me.

I'm using http://www.dynamicdrive.com/dynamicindex1/navigate2.htm

I would like to have both the headers and the content as images. I have done this but the open and close function appears to have lost its marbles.

Although I have the persist set to Off the page opens with all headers and conent visible. It requies 2 or 3 clicks on a header to get that content to close and then the close previous stops functioning.

What do I need to ad/do/change to get this working ok?

Tx a ton

e.g. of my headers
<td width="100%" colspan="3">
<p onclick="expandcontent('sc1')" style="cursor:hand; cursor:pointer" class="faq"><img border="0" src="../images/mythumbnailimage.jpg" width="72" height="72"></p>
<div id="sc1" class="switchcontent"><img border="0" src="../images/mymainimage.jpg" width="560" height="182">