Accordion Menu / Posts /

Submenus not opening onload

0

I have tested and installed and got this great menu working.

I migrated it to my site, and the submenus are longer opening onload.

I believe this to be related somehow to my slide bars, here is my test site showing it not working, the menu is on the left hidden.

http://www.whartonmilitaria.co.uk/test/items.php?section=britishheadgear


If i move the menu to the main div, and not to the side div, it all works

http://www.whartonmilitaria.co.uk/test/items2.php?section=3rdreichbadges

Any thoughts?

Jim  9 years ago   viewed: 4473    

2 Answers

0

http://www.menucool.com/2457/Troubleshooting-Request

Susan   9 years ago
0

After many hours, I have found the issue.

It seems to be because the div that the menu is within, is initially set to display: none;

Then the menu is displayed after which it is set to block;

Here is an example

http://www.whartonmilitaria.co.uk/testmenu/index3.html

Click the left menu toggle, and notice that the menu is aware of which page it is on but has not opened up the accordion.

This page shows it with the fix:

http://www.whartonmilitaria.co.uk/testmenu/index4.html

Notice the index 4 now is open as expected.

Jim   9 years ago

   

Your name*
Password
(Optional. Used to modify this post afterwords)
+ =  

Ask your Own Question

  • If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;

  • When you want to start a new page for your question: