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


 

    Set a menu item to pressed when a page is loaded.

Return to Recent Questions


Q: I want to know how I can set a menu item to pressed
when a page is loaded in javascript drop down menus.

A: You should set a pressed item using Javascript API:

function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
Sets a current pressed item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0.
recursion = true/false - highlight parent items.





Return to Recent Questions

Bootstrap List View Bootstrap Carousel Example  |  Bootstrap Icons Button  |  Bootstrap Glyphicons List  |  Bootstrap Collapse Toggle  |  Bootstrap Form Button  | 
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 | AI Website Builder | AI Website Generator | AI website design generator