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

    If a user selects drop down javascript menu in the upper frame he get the drop down javascript menu that is in the content frame...

Return to Recent Questions


Q: Is there a setting that needs to be set for the drop down javascript menu to differentiate between the two menus instantiations?
I have a web site in which I am using DHTML Menu in the top frame as a drop down javascript menu and a drop down javascript menu in the lower frame that uses it as a menu in the same frame.
However, if a user selects the drop down javascript menu in the upper frame they get the drop down javascript menu that is associated with the drop down javascript menu of the lower frame.
The configuration files are names differently.


A: I suppose that you call dmenu.js file for the drop down javascript menu for two times on your site in the tag.
You must have only one entry of dmenu.js file.
Please, delete the same code.
You should write so:

<head>

<!-- DHTML Menu -->
<noscript><a href="http://dhtml-menu.com">Javascript Menu 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>

<body>
...
<div>
<SCRIPT src="dhtml-menu_files/data-menu.js" type=text/javascript></SCRIPT>
</div>
...
<div>
<SCRIPT src="dhtml-menu_files/data-deluxe-menu11.js" type=text/javascript></SCRIPT>
</div>
...
</body>>





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. parallax scrolling | html5 video background | website generator | bootstrap forms | bootstrap carousel