Recent Questions Css Tutorial Menu TreeQ:
We have a query on a navigation that we have created. We would like to knowhowto set the colour for a nav item of the asp drop down menu if any pages in that section are currently being visited?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:
2) Set the pressed item/subitem using dm_ext_setPressedItem () function.
Please see more info here:
I have to find out, how the tree view navigation is NOT expanding in the beginning.. A: You should set the following parameter:
Use + signs before items text to expand the some items:
["+Land","", "", "", "", "", "", "0", "", "", ],
Is there a way to center the primary navigation and left-align the drop down for themenu script ?A: Set the following parameters:
Could you please help me with another question?
I am using your regular dhtml menu inside an asp page.
I have now been trying to do this by using the alert() java metod....
This line works perfect:
But if I try to write the same line within ASP brachets ( <% %> ) the menu does not show up:
the menu will show up and the script will work but since I can not insert any parameter it is pointless..
How can I achieve this?
I really hope you can help me with this one!A: Try to write your code in the following way: