-
ddacordion wrong menu expands
1) Script Title:
Accordion
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...daccordion.htm
3) Describe problem:
Say I have two menu bars with these links:
Menu0
link1: /blabla/index1.html
link2: /blabla/index2.html
link3: /blabla/index3.html
Menu1
link1: /blabla/index4.html
link2: /blabla/index5.html
link3: /blabla/911/index3.html
If I press menu1 link3, it expands as it should. But when I open menu0 and menu1 collapses, and then press menu0 link1, then menu1 will expand (even though I also put expandable=0).
This is because of the path in the cookie I guess?
Any way around it?
Because even though I use the "expanded" get variable, it will show the wrong menu.
Maybe I could manually read the expanded variable and manually add a javascript that expands the correct one? Because as it is now it doesn't work very well when links aren't from the same folders.
Very nice work with the script, I love it and it's just what I needed.... just need to fix the small bugs now :-)
Regards,
Mikael
Last edited by igen; 04-22-2008 at 02:12 PM.
-
-
Attached a file so you can check the cookie problem I am talking about:
-
-
Also - if any dd administrator would like access to my script page, I can give you login information in a PM, just say if you need it to understand my problem better.
-
-
Hmm sure, please pm me a link to the problem page. I can't promise I'll have time to look at it, but I'll try.
-
-
Last edited by igen; 04-23-2008 at 08:03 AM.
-
-
I fixed it with the get variable, had spelled it wrong, how embarrasing
Done it right on all the other pages grrr hehe....
Sorry for taking up your time and thanks for a very nice script!
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks