Multiple menus on single page causes incorrect sub menus

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
MartinSpeed
Advanced
Advanced
Posts: 18
Joined: Wed Mar 21, 2007 3:46 pm

Multiple menus on single page causes incorrect sub menus

Post by MartinSpeed »

I have a webpage with 3 menus on.
One for the header, one for the left navigational panel and one for a footer.
When i display them separately all is fine. But when i include the code for all of them on the page, the sub menu style for the first menu called in the page is used for the other two proceeding menus.

<head>
<script type="text/javascript" src="milonic_src.js"></script>
<script type="text/javascript" src="mmenudom.js"></script>
</head>

i then call my header menu
<script type="text/javascript" src="MenuHORIZONTAL_SLIDE_DOWN.js"></script>

some html code then display my left panel nav panel
<script type="text/javascript" src="MenuVERTICAL_SLIDE_RIGHT.js"></script>

more html, and finally call my footer
<script type="text/javascript" src="MenuHORIZONTAL_SLIDE_UP.js"></script>

but each menu uses the header sub menu for each. Any ideas?
MartinSpeed
Advanced
Advanced
Posts: 18
Joined: Wed Mar 21, 2007 3:46 pm

Post by MartinSpeed »

Look and ye shall find, found the problem.

Apologies for the bad words i muttered under my breath about milonic :D
Post Reply