Results 1 to 3 of 3

Thread: Switch Menu - Close when refreshed

  1. #1
    Join Date
    Apr 2008
    Posts
    14
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Switch Menu - Close when refreshed

    1) Script Title: Switch Menu

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

    3) Describe problem:

    When a user clicks on the script, to make the drop down portion appear, it doesn't go back up once the user refreshes the page... it stays open.

    What I want to happen is, whenever the page is refreshed, I want the menu to close, and go back to the starting position.

    Thanks in advance!!

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

    Default

    It sounds like you have persistence enabled. Try turning it off inside the script:

    Code:
    var persistmenu="no" //"yes" or "no". Make sure each SPAN content contains an incrementing ID starting at 1 (id="sub1", id="sub2", etc)
    DD Admin

  3. #3
    Join Date
    Apr 2008
    Posts
    14
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks so much!

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
  •