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 02, 2006 - Little vertical spacers between menu items in the drop down menu.
- Sep 06, 2006 - The first item of the html drop down menu stays highlighted.
- Oct 01, 2006 - All of the items in html pull down menu are different sizes.
- Oct 31, 2006 - Is it possible to use the AXAJ-Like technology and Javascript-API in css pop up menu?
- Nov 06, 2006 - Each item is a different width. Can I do this with your html navigation bar?...
- Nov 25, 2006 - I need only one column of submenu html to be displayed, all other columns should be closed.
- Dec 04, 2006 - When running navigation bar code with IE or Firefox, the background is transparent.
- Dec 11, 2006 - How to add the new items to the dhtml vertical menu without using two data.js files?
- 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
- Dec 29, 2006 - Flash element in Firefox disappears behind the javascript mouse over menu.
|