|
If a user selects menus javascript in the upper frame he get the menus javascript that is in the content frame...
Return to Recent Questions
Q:
Is there a setting that needs to be set for the menus javascript 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 menus javascript and a menus javascript in the lower frame that uses it as a menu in the same frame. However, if a user
selects the menus javascript in the upper frame they get the menus javascript that is
associated with the menus javascript of the lower frame. The configuration
files are names differently.
A:
I suppose that you call dmenu.js file for the menus javascript 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:
- Apr 01, 2009 - How can I set different parameters for diferent items in my css popup?
- Apr 07, 2009 - I want to get my text within a single css dynamic menu item to be on a two lines...
- Apr 24, 2009 - I have an errors on the menu without javascript in HTML application with 4 iframes.
- Apr 25, 2009 - The floating menu html looks differently in IE 6 and Firefox...
- May 24, 2009 - When set up links in the dropdown menu code using Tuner app, it changes them to different paths.
- May 30, 2009 - If the new page in the frame is a frameset itself, the drop down dhtml menu won't show up.
- Jul 11, 2009 - I'm trying to create two separate pop up menu creator on my page.
- Jul 24, 2009 - I would like to use this menu pulldown in a page containing two iFrames.
- Jul 31, 2009 - How to add the new items to the sliding menu javascript without using two data files?
- Sep 14, 2009 - We have errors in the drop down menu html code when we use two drop down menu html code on the one page.
- Sep 19, 2009 - All of the items in dropdown menus have different sizes.
|