(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    Is it possible to use more than one css dhtml menu in one Site?

Return to Recent Questions


Q: Is it possible to use more than one Menu in one Site, for example with

<script type="text/javascript">var dmWorkPath1 = "menue/produkt.files/";</script>
<script type="text/javascript" src="menue/produkt.files/dmenu.js"></script>
<script type="text/javascript">var dmWorkPath2 = "menue/navigation.files/";</script>
<script type="text/javascript" src="menue/navigation.files/dmenu.js"></script>

unfortunately this syntax doesn�t work


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 on the one page.

You cannot write dmWorkPath1 and dmWorkPath2. Youir menu won't work correctly in that case.

You should write
<!-- Deluxe Menu -->
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript">var dmWorkPath = "menudir/";</script>
<script type="text/javascript" src="menudir/dmenu.js"></script>
<!-- (c) 2007, http://deluxe-menu.com -->

and call several data files:
<script type="text/javascript" src="menudir/data1.js"></script>
...
<script type="text/javascript" src="menudir/data2.js"></script>
...
<script type="text/javascript" src="menudir/data3.js"></script>





Return to Recent Questions

15 Recommended Website Makers Arranged by Level Of Popularity Fresh CSS Bootstrap Carousel Video Players and Nav Menu Demos  |  Bootstrap Toggle Tabs  |  Bootstrap Tabs Styles  |  30 Killer Free Bootstrap Image Carousel and Gallery Scripts  |  Bootstrap Panel Body  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Free AI Website Builder | Free AI Website Builder | AI Website Maker | AI Website Generator | Website Generator AI