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

    We have errors in the vertical menu dhtml when we use two vertical menu dhtml on the one page.

Return to Recent Questions


Q: We have errors in the vertical menu dhtml when we use two vertical menu dhtml on the one page.
Normally you do this by having 2 javascript includes.

However it looks like the bottom vertical menu dhtml activates the first vertical menu dhtml?


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">Vertical menu dhtml 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. static website generator | free icon fonts | easy website builder software | HTML5 Video Player | image slider