Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:30

Multiple menus on single page causes incorrect sub menus


Poster: MartinSpeed
Dated: Monday August 13 2007 - 18:02:09 BST

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?


Poster: MartinSpeed
Dated: Monday August 13 2007 - 18:21:41 BST

Look and ye shall find, found the problem.

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