We need to place 2 java script drop down menu on the one page.
Return to Recent Questions
Q:
We need to have 2 Java script drop down menu on one page. Normally you do this by having 2 java scripts
calls.
However it looks like the bottom java script drop down menu activates the first java script drop down menu?
A:
Now you call dmenu.js file for two times in the tag.
You must have only one call of dmenu.js file.
You should write so:
...
<head>
<!-- DHTML Menu -->
<noscript><a href="http://dhtml-menu.com">java script drop down menu 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 13, 2009 - I cannot see start menu button on my pages.
- March 19, 2009 - How to get the html pop up menu to highlight and stay on the page you're viewing?
- Apr 05, 2009 - We have status bar errors that say: "Done, but with errors on page" in html side menu...
- Apr 07, 2009 - I want to get my text within a single navigation web part item to be on a two lines...
- Apr 09, 2009 - My dhtml menu bar disappears on the home page.
- Apr 17, 2009 - I have 25 images on one page. I want to use it's own popup javascript context menu for each image.
- Apr 19, 2009 - Is there a way to set the default horizontal drop down menus tab on a page load?
- May 10, 2009 - Since I installed the dhtml sample on our website the homepage start loads slowly...
- May 15, 2009 - I can see the down arrows of my drop down menu examples on the main page only, how to fix it?
- May 23, 2009 - I can see only the code generated by the GUI tool.How should I install javascript sliding menu?
- May 30, 2009 - If the new page in the frame is a frameset itself, the xml dynamic menu won't show up.
|