View Full Version : Switch Content II - clickable header?

06-09-2006, 10:29 PM

I'm using the Switch Content II menu on my site at:


It works exactly right, except for one teeny thing.

I would like to be able to click on the header and make it expand, rather than just the teeny plus sign.

Currently, my header code looks like this:

<div class="headers"><img src="images/minus.gif" class="showstate" onclick="expandcontent(this, 'art')" />Arts: Art, Dance, Film, Music, Theater</div>

I have tried moving around the onClick statement into the div, like this:

<div class="headers" onclick="expandcontent(this, 'art')"><img src="images/minus.gif" class="showstate" />Arts: Art, Dance, Film, Music, Theater</div>

And that works, but it makes the plus/minus icon be in the opposite state.

Any ideas are appreciated!

06-17-2006, 07:13 PM
^bump. Anyone?