I need to have a css horizontal menu and a vertical web menu design on the same page?
Return to Recent Questions
Q:
I need to have a horizontal menu and a vertical web menu design 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
web menu design 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">Web menu design 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:
|