Results 1 to 2 of 2

Thread: Switch Content Script II - changing intial state

  1. #1
    Join Date
    Feb 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Switch Content Script II - changing intial state

    Switch Content Script II
    http://www.dynamicdrive.com/dynamici...chcontent2.htm

    This is a great script, but I have one small problem...

    When it loads all the content is expanded by default. I would like it all to be collapsed by default. I have tried to find a setting in the script, but I haven't found anything that works for me.

    There is a function to expand all and collapse all (sweeptoggle). Can I tell the browser to select collapse all when the page loads?

    Any other ideas?

    Thanks in advance!
    Dan

  2. #2
    Join Date
    Feb 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Nevermind... I did a search and found the solution (should have done that before!)

    For anybody who maybe looking for the same, it is here:
    http://www.dynamicdrive.com/forums/s...ad.php?p=31994

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
  •