|
Is it possible to use more than one vertical menu dhtml in one Site?
Return to Recent Questions
Q:
Is it possible to use more than one vertical menu dhtml 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
Related:
- Apr 17, 2009 - I have 25 images on one page. I want to use it's own popup code for drop down menu for each image.
- Jul 02, 2009 - Is it possible to install my menu bar in html on the page made with Yahoo sitebuilder
- Aug 17, 2009 - Is it possible to use context menus in java script with your tree menu?
- Aug 22, 2009 - Is it possible to create a dropdown menu dhtml with one line of the subitems?
- Aug 30, 2009 - Is it possible to load an Iframe into one of the items in web navigation bar?
- Sep 03, 2009 - Is it possible to use the AJAX-Like technology and dynamic API functions in menu drop down javascript?
- Sep 14, 2009 - We have errors in the menu dynamique dhtml when we use two menu dynamique dhtml on the one page.
- Sep 29, 2009 - We use the state saving feature of your menus with javascript on our site. Does it implements cookies?
- Oct 06, 2009 - My site has three levels of a folder structure. Can I create only one down javascript menu
- Nov 01, 2009 - Is it possible that your show pop up menu call some javascript on mouseover?
- Nov 05, 2009 - Is it possible to use an external file in the javascript pop up menus?
|