(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've been trying to get the menu item in dynamic tree menu to stay highlighted when clicked on and directed to that page.

Return to Recent Questions


Q: I've been trying to get the menu item in dynamic tree menu to stay highlighted when clicked on and directed to that page.

A: Tree Menu doesn't save a pressed item as it saves a tree state.
It works within 1 page only and if you reload the page you should set a pressed item using Javascript API:

function apyt_ext_setPressedItem(menuInd, itemID)

<script type="text/javascript">

var i = 4 //index of the selected item
onload=setPressed;
function setPressed()
{
dtreet_ext_setPressedItem(0,dtreet_ext_getItemIDByIndex(0, i));
}


To expand specific items you should use the following function:
dtreet_ext_expandItem (dtreet_ext_getItemIDByIndex (0, 11), 1);





Return to Recent Questions

Related:
Smart Cheap and Easy Web Page Builder Tools | Honest Review First-rate Responsive Website Builder Software - Beginner-Friendly Guide  |  Fine Open Source Website Maker Software | 2021 Guide  |  HTML Page Creator Plugins / Overview  |  Top HTML Site Builder - 2021 Review  |  Good Responsive Site Maker Program - 2021 Tutorial  | 
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 Builder | Free AI Website Builder | Free AI Website Generator | AI Website Generator