Results 1 to 2 of 2

Thread: Switch Content II - clickable header?

  1. #1
    Join Date
    Jun 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Switch Content II - clickable header?

    Hi:

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

    http://www.jmrl.org/on-links.htm

    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!

  2. #2
    Join Date
    Jun 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    ^bump. Anyone?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •