Results 1 to 3 of 3

Thread: Turning toggle off

  1. #1
    Join Date
    Oct 2008
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Turning toggle off

    1) Script Title: Switch Content Script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tchcontent.htm

    3) Describe problem:

    I'm putting together a site (example here: http://64.7.93.132/concrg-rec.php) using a area maps to switch content.

    It's actually working well except that if you hit the button twice the div collapses and you see nothing. I know this the way it's suppose to work but is there a way to turn the toggling feature off? I really only need for the area buttons to expand it's assigned div and close all the other divs.

    Since the maps are on top of each other I tried deleting area maps that weren't needed when the appropriate div expanded, but that resulted in confusing the indices.

    Thanks!

  2. #2
    Join Date
    Aug 2004
    Posts
    10,140
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    DD Admin

  3. #3
    Join Date
    Oct 2008
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Sorry.

    I did do a search but I guess I put the wrong parameters in. The second link did the trick for me. Thanks.

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
  •