Results 1 to 4 of 4

Thread: Switch Content II script ... start collapsed?

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

    Default Switch Content II script ... start collapsed?

    I'm using this script (http://www.dynamicdrive.com/dynamici...chcontent2.htm) and would like to know if there is any way to have the div's all hidden to start with and the user can choose which to expand?

    Thanks,
    Jon
    Mayhem Design

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    I'm guessing... <body .... onLoad="sweeptoggle('contract')">
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

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

    Default

    Thanks djr33 ... You're right of course. I also found this post (http://www.dynamicdrive.com/forums/s...ad.php?t=11816) that shows how to change it in the scrip[t itself which works better for me.

    Thanks again,
    Jon

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Sure. I gave you the easy/lazy solution
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

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
  •