|
We have errors in the drop down menu html code when we use two drop down menu html code on the one page.
Return to Recent Questions
Q:
We have errors in the drop down menu html code when we use two drop down menu html code on the one page.
Normally you do this by having 2 javascript includes.
However it looks like the bottom drop down menu html code activates the first drop down menu html code?
A:
Now you have two calls for dmenu.js file on your page in the tag.
You must have only one entry of dmenu.js file.
You should write your code in the following way:
...
<head>
<!-- DHTML Menu -->
<noscript><a href="http://dhtml-menu.com">Drop down menu html code by DHTML-Menu.com</a></noscript>
<script type="text/javascript">var dmWorkPath = "menu2.files/";</script>
<script type="text/javascript" src="menu2.files/dmenu.js"></script>
<!-- (c) 2008, by DHTML-Menu.com -->
</head>
Please, delete the same code from the tag.
Return to Recent Questions
Related:
- March 12, 2009 - I don't understand, how can change place of the icon in button context menu...
- March 13, 2009 - I cannot see drop down menu javascript on my pages.
- March 13, 2009 - Now we are having the "Incorrect Copyright" on our simple javascript menu...
- March 14, 2009 - How do I enable javascript on the new browser, so I can see my dhtml menu javascript?
- March 15, 2009 - I have problems with transitional effects in Firefox in the net dhtml menu...
- March 16, 2009 - Is there any way to keep a css horizontal menu lit up when going to another page?
- March 19, 2009 - How to get the javascript sliding menu to highlight and stay on the page you're viewing?
- March 19, 2009 - I need that the down menu css loads pages into an iFrame.
- March 20, 2009 - Links don't work in the javascript disable button. How can I correct this?
- March 21, 2009 - How can we increase the width of the vista style buttons of menus horizontal?
- March 24, 2009 - In simple drop down menu creator there's no option for turning the cursor into a hand.
|