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


 

    The submenu goes away and the main html tab javascript is not highlighted

Return to Recent Questions


Q: With menu tabs, I'm trying to dynamically set the bselectedItem parm, using php. If I set bselectedItem to anything other than 0, the submenu goes away and the main html tab javascript is not highlighted.
If I set to 0, everything works.


A: See, if you use Tab Mode
var tabMode = 1;

var bselectedItem = 0; //main items
var bselectedSmItem = -1; //submenus

So you should set:
var bselectedItem = 0; //main items (0;7;14;21;25)
var bselectedSmItem = -1; //submenus (1;2;3;4;5....)





Return to Recent Questions

Related:
Bootstrap Panel Body Bootstrap Media queries Example  |  Bootstrap Row Grid  |  Bootstrap Select Placeholder  |  Bootstrap Tabs Styles  |  Bootstrap Multiselect Option  | 
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 Generator | AI Website Maker | AI web design generator | AI web page design generator