Results 1 to 4 of 4

Thread: Accordion Compressed

  1. #1
    Join Date
    May 2009
    Posts
    28
    Thanks
    2
    Thanked 1 Time in 1 Post

    Default Accordion Compressed

    1) Script Title: Accordion

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

    3) Describe problem: I have the menu linked internally within the site. the problem I'm having is that when you navigate to the page the menu stays uncompressed. I was wondering if there is a way to have the menu go back to the compressed state when landing on the page.

  2. #2
    Join Date
    May 2009
    Posts
    28
    Thanks
    2
    Thanked 1 Time in 1 Post

    Default sorry answered my own question

    persiststate: false, //persist state of opened contents within browser session?

  3. #3
    Join Date
    May 2009
    Posts
    28
    Thanks
    2
    Thanked 1 Time in 1 Post

    Default

    So after doing this it has inadvertently effects other pages on the site. There is only one page I would like to have it regardless of where you are on the site to return to this page and the menu is compressed.

    now after making the change while the one page that i want to have the nav compressed is compressed but navigating out of the page will sometimes cause that pages' nav to be compressed when it's not defined in persiststate

  4. #4
    Join Date
    May 2009
    Posts
    28
    Thanks
    2
    Thanked 1 Time in 1 Post

    Default and upon more review

    setting all the persiststates' to false and setting defaultexpanded to the corresponding navs gets the needed effects i'm looking for. hope this helps whoever is reading this.

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
  •