Results 1 to 3 of 3

Thread: Accordion Menu - PersistState Problem

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

    Default Accordion Menu - PersistState Problem

    1) Script Title: Accordion Menu script

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

    3) Describe problem:
    persiststate: doesn't work as i expected it to work. Sometimes it works, most of the time it doesn't.

    sample: http://cms.stanleygibbons.com/corporate.aspx

    I already added "; path=/" in ddacordion.js as suggested in one of the posts.

    Can anyone help? Defaultexpanded doesn't work either although this might be related to the problem with persiststate.

    Regards,

    New Info: it works in IE6 but not in firefox and ie7
    Last edited by diegosilang; 04-03-2008 at 12:43 PM. Reason: New info

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

    Default

    Hmm, I tried using FF2 and navigating to a few pages using links in the Accordion Menu. From what I can tell the persistence feature works as it should from page to page. Speaking in general though, if you're going from cms.mydomain.com to just www.mydomain.com, the cookie feature won't work from the previous to the next page, since they are considered separate domains entirely.

    Regarding defaultexpanded, not sure, as you haven't set one up in your config file (enter one or more indices:

    Code:
    	defaultexpanded: [], //index of content(s) open by default [index1, index2, etc]. [] denotes no content

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

    Default

    Hi. Your reply got me thinking so i disabled my firefox theme and it's now working.

    About the defaultexpanded, i don't want to have any that's why the blank '[]'.

    Thanks.

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
  •