Results 1 to 2 of 2

Thread: Collapse accordian script from page to page

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

    Default Collapse accordian script from page to page

    1) Script Title: Accordion Content script

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

    3) Describe problem: I'm using only one drop-down and also using the revealtype: "click" option. I would like to have the menu closed each time when navigating from page to page.
    Example: If the menu is open on "page A" and you navigate to "page B", the menu is already open on "page B".

    Mike

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

    Default

    Simply turn off persistence in the menu. It's the option in red in your configuration code:

    Code:
    	onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
    	animatedefault: false, //Should contents open by default be animated into view?
    	persiststate: false, //persist state of opened contents within browser session?
    DD Admin

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
  •