(c) 2007, DHTML-Menu.com
 
   
   
  Support
  Recent Questions
  Write To Support
 

    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:
   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. parallax scrolling | video background | best website builder software | top free website builder | bootstrap button styles