(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:
Top 41 Wonderful CSS3 Templates Collection Best 46 Fresh CSS Themes Collection  |  Top 54 Brand New jQuery Themes List  |  AMP Mobile Page Template Review  |  46 Fantastic CSS3 Web Page Templates Overview  |  Best 50 Inspirational and Beautiful HTML Themes Collection  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Free Bootstrap Template | easy website builder | easy website builder software | top free website builder | free bootstrap templates