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 24, 2006 - If there is a way of establishing the width at "runtime" in the javascript dynamic menu?
- Nov 14, 2006 - Can dhtml menu script work with tables ?
- Dec 14, 2006 - How to use a dhtml javascript menu item so that it opens a window at a certain size?
- 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
- Feb 07, 2007 - Can you create/destroy tabs javascript with only client side javascript
- Feb 17, 2007 - How I can edit/specify the color schemes on the Glass style tabs in html?
- Feb 20, 2007 - Can I divide data file of my dhtml menu javascript for several files?
- March 04, 2007 - For some reason all of the javascript dhtml menu items are squished together
- March 08, 2007 - Which file(s) I must change to change the content of each tab in the tabs dhtml?
- March 15, 2007 - In my dynamic html menu I'm getting an error - Error: 'floatable' is undefined
|