Recent Questions
Q: Still having trouble with placing the javascript window menu on a fixed position on firefox. So far its only at my testpage. The "Trial Version"-Button however stays at the correct place while the javascript window menu itself moves down if you scroll down... I hope that is fixed in the full version??
A: Now you're using floating feature for the javascript window menu:
//--- Floatable Menu
var floatable=1;
var floatIterations=3;
var floatableX=1;
var floatableY=1;
var floatableDX=15;
var floatableDY=15;
If you don't want to use it you should set:
var floatable=0;
Q: I need to have a horizontal menu and a vertical 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. However, it looks like only the second menu works, though it does show both. I assume 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.
<!-- 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 -->
Q: Is there a way to change the height of the main buttons in Dhtml Menu. When I use the GUI tool there is nowhere to change the main button height. And when I tried to change it in the script file, it did me no good. I want all of the main buttons to be the same size.
A: You can use standard <img> object to set menu height, for example:
var menuItems = [
[" <img src='blank.gif' width=1 height=50>text"],
];
Q: In the javascript pulldown menu submenu width seems not to work in FF...
A: You should specify units in "px".
var itemStyles = [
["itemWidth=208px"],
];
var menuStyles = [
["smHeight=200px"],
];