Recent Questions
Q: One more question. How can I make the javascript submenus appear much more quickly? They appear but only after mouseing-over the menu and waiting for approximatelyone second.
A: Try to adjust the following parameters:
var dm_writeAll=0;
var smShowPause=100;
var smHidePause=1000;
var transDuration=150;
var transDuration2=200;
You can also turn off transitional effects
var transition=-1;
Q: I have built out a vertical menu that fits within a fixed size box. The items of the menus are all fixed size images. However when increasing the font size in the browser under View -> Text Size the spacing between the images increases and the html java menu no longer fits within the fixed space. I did have CSS padding-top in the html java menu that I took out but it still does not fit in the space. I took out but it still does not fit in the space.
Have you run into this before or do you know of a fix for this?
A: You've installed the menu in DIV with absolute position (boxNav). Thatis why you have such behaviour.
Try to use relative position for this DIV.
Q: How does one go about changing the parameter or the menu in java script so that a menu selection stays 'on'?
In other words, the menu remains selected, perhaps in a background color that shows the user this menu choice is selected and the user is in the selected menu area.
A: To save your navigation path you should set the following parameter:
var saveNavigationPath = 1;
The menu keeps items highlighted during menu navigation.
0 - disabled, 1 - enabled (default).
You can highlight menu items by default in two ways:
1) Set the pressed item on each page idividually using the following parameter:
var pressedItem = -2;
The toggle mode. Sets an index of an item that will be highlighted by default.
-2 - the toggle mode is disabled;
-1 - the toggle mode is enabled, but no items highlighted by default;0,1,2,3,... - index of highlighted item in a top-level menu.
- delete var pressedItem=1; parameter from your data file
- set correct parameter on each page before you call data file, for example:
<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=2;</script>
...
<script type="text/javascript" src="menudir/data.js"></script>
2) Set the pressed item/subitem using dm_ext_setPressedItem () function.
Please see more info here:
http://deluxe-menu.com/highlighted-items-sample.htmlQ: We've used your deluxe menu on a few sites without any issues. We are trying a new site javascript menu system now and having an issue with beforeItemImage and afterItemImage. Below is our data javascript class. The dropdown seems fine in Firefox but the before and after Images are not showing up in Internet Explorer.
We've tried a number of things and can't quite get the tabbed corners in IE. Any suggestions would be greatly appreicated, we need to get this menu live soon for a client of ours. Thank you in advance.
A: Try to specify width and height parameters:
var beforeItemImageW="6";
var afterItemImageW="6";
var beforeItemImageH="19";
var afterItemImageH="19";
We've checked your page in IE6, IE7, IE8. All images displayed correctly.