PDA

View Full Version : Accordion Menu - PersistState Problem



diegosilang
04-03-2008, 12:27 PM
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

ddadmin
04-04-2008, 07:51 AM
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:


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

diegosilang
04-04-2008, 08:53 AM
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.