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

    I need to have a css horizontal menu and a vertical floating window javascript on the same page?

Return to Recent Questions


Q: I need to have a horizontal menu and a vertical floating window javascript menu on the same page (obviously with different content). I did this as two separate "projects" in the tuner and gave them different names so that the files wouldn't step on each other. It looks like only the 2nd floating window javascript works, though it does show both. I hope it has something to do with the variable dmWorkPath overriding the first value with the second. How can I have two menus each with different content on the same HTML page?


A: You can use as many menus as you want on the one page.

But you should call dmWorkPath parameter and dmenu.js file only once.

<!-- DHTML Menu -->
<noscript><a href="http://dhtml-menu.com">Floating window javascript by DHTML-Menu.com</a></noscript>
<script type="text/javascript">var dmWorkPath = "menudir/";</script>
<script type="text/javascript" src="menudir/dmenu.js"></script>
<!-- (c) 2008, http://dhtml-menu.com -->





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. website builder software | bootstrap 4 templates | icon font | bootstrap buttons | image slider