(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    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:
36 Top Eye-catching and Free AMP Elements Templates for 2021 Bootstrap Tabs Styles  |  30 Killer Free Bootstrap Image Carousel and Gallery Scripts  |  Fresh CSS Bootstrap Carousel Video Players and Nav Menu Demos  |  15 Recommended Website Makers Arranged by Level Of Popularity  |  Bootstrap Toggle Tabs  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Free AI Website Builder | AI Website Maker | Website Generator AI | AI website design generator | AI web page design generator