I am using the menu in a frameset, and I would like for the selected menu branch of the side navigation bar to stay highlighted
Return to Recent Questions
Q:
I am using the menu in a frameset, and I
would like for the selected menu branch of the side navigation bar to stay highlighted after the user
moves the mouse to another window (where the menu brings up a new page),
just so the user knows where he/she is. Is that possible?
A:
If you open links in the another frame (window) the initial frame with your menu is
not reloaded, so the clicked item will be highlighted.
You should set the following parameters:
var ttoggleMode=1;
var tpressedFontColor="#AAAAAA";
You can also set the following parameter to save menu state:
var tsaveState=1;
var tsavePrefix="menu1";
If you install the menu without frames. On your pages you should call the following function/functions to expand/highlight items, for example:
<script>
dtreet_ext_expandItem (dtreet_ext_getItemIDByIndex (0, 0), 1);
dtreet_ext_setPressedItem (0, dtreet_ext_getItemIDByIndex (0, 1));
</script>
See more info about API functions here:
http://www.deluxe-tree.com/functions-info.html
Example:
http://deluxe-tree.com/highlight-selected-menu-item-sample.html
Return to Recent Questions
Related:
- Sep 06, 2006 - The first item of the html drop down menu stays highlighted.
- Nov 06, 2006 - Each item is a different width. Can I do this with your html navigation bar?...
- Dec 04, 2006 - When running navigation bar code with IE or Firefox, the background is transparent.
- Dec 16, 2006 - Is there a way to keep global cool navigation image highlighted?
- Dec 23, 2006 - When I have tried to look my side menu bar in the browser it has the active x message
- May 03, 2007 - How to get the javascript menu bar to highlight and stay on the page you're viewing
- May 06, 2007 - Sub-menus appear away for the menu/ dhtml navigation bar.
- July 12, 2007 - Is there a way to leave a main navigation item highlighted in the dhtml top menu?
- July 16, 2007 - I would like the visited link in the expandable javascript menu stay highlighted
- Aug 06, 2007 - The first item of the html drop down menu stays highlighted.
- Dec 16, 2007 - Client would like to have the horizontal menu bar stay active on the page they are on.
|