(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 tree menu script in a frameset, and I would like for the selected menu branch to stay highlighted

Return to Recent Questions


Q: I am using the tree menu script in a frameset, and I would like for the selected menu branch 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: But 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:
HTML Page Creator Plugins / Overview Effective Link in Bio Services  |  How To Embed Instagram Feed  |  First-rate Responsive Website Builder Software - Beginner-Friendly Guide  |  Greatest 11 Free Wordpress Alternatives Tools  |  Most Suitable 11 Best Wix Alternatives Website Creators  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. AI Website Builder | Best AI Website Builder | AI Website Generator | AI Website Generator | AI web page design generator