PDA

View Full Version : Accordion Content Menu Collapse and Smartphone Issues - still need clarification



vflor
03-18-2014, 06:23 PM
1) Script Title: Accordion Content Script

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


3) Describe problem: The menu is almost perfect. :cool: I am using it on this site so you can visually see the issues: http://mcdowelldentistryaz.com/dev/

Please keep in mind that I have not connected all the links, just the home, our office and dr ayoub to test links.

Here is what I need help with:

1. I want the top level links set to "clickgo", and I have it set so that the opened menu will stay open on the destination page. How do I set the js to just have it stay open rather than close and reopen on destination page. You can see this clearly if you click on the "Our Office" link.

2. After going to the "Our Office" page, if you click on the logo to go back to home or hit back button, the menu does not collapse. Is it possible to have the submenus close when going back to home page, refreshing page, or hitting back button?

3. In Android Smartphone, if you click on Office page, you get to the destination page but the menu collapses. Can't get to the submenu.

UPDATE:

I tried to add the script based on this answer: http://www.dynamicdrive.com/forums/archive/index.php/t-74195.html and I get a syntax error message.

I don't know javascript well enough to figure out why it still won't work. Can I get some clarification?

Thanks so much!