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?
- Nov 14, 2006 - Can dhtml menu script work with tables ?
- Jan 29, 2007 - Is this java script drop down menu floatable?
- Feb 06, 2007 - We use IFrames and Frameset. Will Deluxe-Menu and Deluxe menu tabs work for us?
- Feb 07, 2007 - Can you create/destroy tabs javascript with only client side javascript
- Feb 09, 2007 - Is there a way submenu�s to be the same for first and second level in DHTML Menus
- Feb 17, 2007 - How I can edit/specify the color schemes on the Glass style tabs in html?
- Feb 25, 2007 - Could you please help me with creating of popup menu javascript?
- March 02, 2007 - Is there a way to establish a setting such that when a toggle menu Item is CLICKED
|