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


 

    How can I keep the main Menu highlighted

Return to Recent Questions


Q: Is it possible to keep the main menu highlighted corresponding to the page you are in? So, if you're on a specific page that button on the menu will automatically be highlighted.
I searched the FAQ on your site and it gave me something about "Special Parameters" that didn't make sense to me...


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

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