Recent Questions
Q: Drop Down Menu could be the best solution for my website ... but Ihave one important question: I've seen, that it's possible to open the javascript change menu linked contents in the same or in a new window or in a frame ... but is it possible, too, to generate a new tab? To open a new window often is not possible, because most users have popup-blockers installed. And to open the contents in the same window drives the user away from the main page! Open a new tab seems to be less risky ... is there any solution to be used with Drop Down Menu? I tried to use "_tab" instead of "_self" or "_parent", but it did not work!
A: You should use _blank. If your browser supports tabs your link will beopened in a new tab (except IE, in IE it will be opened in a newwindow).
Q: I am using deluxe-menu for the third time to create a school web site. It has worked fine on the previous two sites, but I am making a horizontal menu this time instead of a vertical menu. The menu won't align itself correctly in Firefox. I read the post in your FAQ and I set the align tag in the TD element and also the size attribute, but that didn't work.
Could you give me some suggestions. It looks fine ie IE, but not Firefox.
A: Try to specify exact value for menu width.
For example:
var menuWidth="800px";
It's necessary to specify exact value for Mozilla browsers. It helpsto position menus correctly.
Q: I'm trying to have two separate menus on my web page. I read what was written in your FAQs about multiple menus, but the response was too cryptic.
It seems to me that if the dmWorkPath for each menu is declared separately, then the menus should work separately (with no interaction). I did not find this to be the case.
Do you have more complete information about creating multiple menus on one page? I would like to understand the issues.
A: David, if you want to create multiple menus on one page you should only call several data.js files with the menu.
For example you can see templates.html. You can find this file in the trial package.
Q: I want to highlight an activeted Page with your delux menue tool, which I have bought.
If I have clicked an item from the menue and the site and the new site opened, I want to change the color of this active item.
Can you give me concrete informations about this problem!?
A: The menu has only two states normal and mouseover.
Try to do the following things:
- delete var pressedItem=1; parameter from your data file
- set correct parameter on each page before you call data file, forexample:
<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>
<script type="text/javascript"> var pressedItem=3;</script>
...
<script type="text/javascript" src="menudir/data.js"></script>r dmWorkPath = "menudir/";</script>
<script type="text/javascript" src="menudir/dmenu.js"></script>
<script type="text/javascript"> var pressedItem=3;</script>
...
<script type="text/javascript" src="menudir/data.js"></script>
You can also set a pressed item using Javascript API:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd,
You can also set a pressed item using Javascript API:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
Sets a current pressed item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0.
recursion = true/false - highlight parent items.
But notice, to use dm_ext_setPressedItem() you should know ID of selected item and subitem.
You can't get this ID after you reload your page. That is why you should write your own code on PHP.