Recent Questions Treelist Change Order Ajax Rails
Q: How do I make the submenus sticky i.e. they will not close even when the mouse goes to somewhere else on the page?
A: I've checked your menu in all browsers. I can't see such problem.
You can try to adjust these parameters:
var transDuration=200; // Delay of a transitional effect (in ms) on submenu's showing.
var transDuration2=100; // Delay of a transitional effect (in ms) on submenu's hiding.
Q: How does one go about changing the parameter or the JavaScript so that a vertical menu selection stays 'on'? In other words, the vertical 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
Q: Doesn't this mean that I have to add this search engine code to all of my sites pages? If so this could be tedious when adding additional pages to a large site.Is this something I can adjust ...or make submenus were you can't see through them?
A: Unfortunately it is really so. You should paste search engine code onthe each page with the menu.
If you don't want to create your menu (and add search engine friendlycode) on each page, you can try to use frames, the menu has a cross-frame mode. Also you can use aserver-side script (php, asp, vb, etc.) to generate html pages fromtemplates on your server.
Q: It looks as though I should be able to have an icon before each item in the sub-menu in javascript tabs, but I don't seem to be able to get thisto work.
Could you please tell me how to fix this?
A: You can use icons before each item in the sub-menu.
You should use the following parameters:
- set icon in the "Item Parameters" window.
- set the width and height of this icon
var biconWidth=7;
var biconHeight=7;
var biconAlign="left";
- set, for example
var bbeforeItemSpace=15;
var bsmItemAlign="left";