Recent Questions
Q: I am having a difficult time trying to integrate your menu into a frame system of my clients. The url that I am testing at is...
I believe that I have followed your instructions to the letter, but can't seem to get the cross-frame system to work. Any help would be appreciated.
A: Please, check dmWorkPath parameter. You should write in the followingway:
<SCRIPT type=text/javascript> var dmWorkPath = "nav_011907_files/";</SCRIPT>
See also how you should write your dm_init function
dm_initFrame("frmSet", 1, 2, 1);
Please, notice also that Deluxe Menu can work within 1 frameset only.
It can't work correctly within nested framesets. It is possible that you'll havesome errors.
Q: Where can I change the font size in the main deluxe menu's (i.e. Products, About, Contact Us)?
Using the deluxe tuner doesn't allow me change this font or the size, so the submenu's are bigger than the top.
A: You can also check Individual Item Styles. May be you set font sizefor the top items using Individual Item Styles.
Q: In dhtml xml menu, is possible call javascript when click on an item without close the menu?
A: In Deluxe Menu you can use the following parameter:
var smHideOnClick=1;
Hides submenus on click
0 - disabled, 1 - enabled.Q: How does one go about changing the parameter or the JavaScript so
that a menu selection stays 'on' for the navigation bar script?
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.html