When I load a page the first tab of the creating tab menu is always highlighted
Return to Recent Questions
Q:
When I load a page the first tab of the creating tab menu is always highlighted, not the contact tab.
A:
I suppose that you've set the following parameter:
var bselectedItem=1;
So, the first tab is always highlighted.
This Tab menu can save pressed item automatically within
1 page only.
If you open another page, the menu can't remember pressed
item. You should do that manually using Javascript and menu parameters
(var bselectedItem, var bselectedSmItem) or using any server-side
script (php, asp, etc.)
You should delete this parameter from your data file and write the
following code on each page before you call your data file, for example:
<script language="JavaScript1.2">
var bselectedItem = 3;
</script>
Return to Recent Questions
Related:
- Sep 06, 2006 - The first item of the html drop down menu stays highlighted.
- Sep 15, 2006 - How can I make paths in my DHTML MENU absolute?
- Sep 24, 2006 - If there is a way of establishing the width at "runtime" in the javascript dynamic menu?
- Oct 13, 2006 - Under the menu images there is a gray line that makes it look broken.
- Nov 12, 2006 - Where in the java menu creator would I inseart the icons for individual item labels
- Nov 14, 2006 - Can dhtml menu script work with tables ?
- Nov 30, 2006 - How to select the font and backcolors in java menubar using the hexidecimal number?
- Dec 18, 2006 - I don't seem to be able to center my html menu bars. Can I do this?
- Jan 04, 2007 - My horizontal submenu is not display at the good position with Firefox.
- Jan 21, 2007 - I cannot get the Janarator images to appear in the javascript right click menu.
- Jan 29, 2007 - Is this java script drop down menu floatable?
|