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:
- Sep 06, 2006 - The alighment of the dropdown menu is off to the right in Firefox...
- Sep 24, 2006 - If there is a way of establishing the width at "runtime" in the javascript dynamic menu?
- Oct 05, 2006 - Do you have a working sample of the loading bar with PHP/ MySQL?
- Nov 04, 2006 - There are the features that, unfortunately, cannot be done in javascript drop menu...
- Nov 14, 2006 - Can dhtml menu script work with tables ?
- Nov 27, 2006 - In Firefox, the drop down menu html is displayed to the right of the top menu text
- Dec 14, 2006 - How to use a dhtml javascript menu item so that it opens a window at a certain size?
- Dec 31, 2006 - Is there a way to use the javascript floating bar without generating the warning?
- Jan 18, 2007 - Will this dhtml context menu rollout from within an iframe over a regular frame
- Jan 26, 2007 - How can I insert html code into javascript collapse menu?
- Jan 28, 2007 - I would like to add a javascript link with onclick event to the html jump menu
|