(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 Input Validation Bootstrap Modal Position  |  Bootstrap Pagination Responsive  |  Bootstrap Popover Button  |  Bootstrap Buttons Group  |  Bootstrap Collapse Toggle  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. fr | web design software | website editor | top web builder | css3 menu