(c) 2007, DHTML-Menu.com
 
   
   
  Support
  Recent Questions
  Write To Support
 

    The submenu goes away and the javascript scroll menu is not highlighted

Return to Recent Questions


Q: With javascript scroll menu, 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

   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. website builder | github pages | website designer | icon font | bootstrap navbar template