PDA

View Full Version : DDAccordion menu



ethbridge
03-17-2008, 02:29 PM
1) Script Title: DD accardion menu (Glossy)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu.htm

3) Describe problem:
When I click on a link at sub menu the linked page loads, then a sub menu of a different menu expands.

Please go to: http://www.ethbridge.com/kitap/
on that page click on :"EK DOKUMANLAR"
submenu expands. Everything is OK.

Then please click on: "ILETISIM"
submenu expands.

Then please click on: the submenu iten "ILETISIM FORMU"
NOW the PROBLEM: The page loads BUT after the load of the page the submenu of Previous heading "EK DOKUMANLAR" will expand

when you click on the first items of the submenues of these two headings the submenu of the other heading expands.

My pages in question are in different folders, if this has importance.

How can I correct it?

Thank you

ddadmin
03-17-2008, 11:18 PM
Are you basically asking why the persistence feature of the script doesn't persist the last expanded header(s) when you go to a page that resides in a different directory from the previous you're coming from? If so, that's because the persistence feature currently is set to work independently for each directory within your site. To make it site wide, edit the below line inside ddaccordion.js, and throw in the changes in red:


document.cookie = name + "=" + value +";path=/"

ethbridge
03-18-2008, 12:45 PM
Hi there,

Thank you very much for your quick response. Problem is solved by adding +";path=/" to ddaccordion.js

raws4581
10-31-2012, 11:42 PM
Hello to everyone. I am having some issues with this code accordion
http://www.dynamicdrive.com/dynamicindex17/ddaccordion.htm

I have it implemented on this page, it works fine for explorer 8,9, firefox, crome, opera, safari, the problem is with explorer 7 it tends to break and i cant find to see what is the problem, any help would be much appreciate. If you browse my internal page is where is have the menu on the left side and the problem occur.

http://www.lancasterscworks.com/interest/expansion_and_relocation/business_climate/

any ideas?