When I load a page with menu html code, the first tab is always highlighted.
Return to Recent Questions
Q:
When I load a page with menu html code, lets say contact, the first tab 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:
- March 23, 2009 - My menu html code doesn't work on IE6. No rollovers, no drop downs.
- Apr 10, 2009 - I can not figure out how to fix the menu html code from going off the page in Mozilla...
- Apr 27, 2009 - Does your license for menu html code need to be tied to a domain name to work?
- Apr 27, 2009 - In my java script download I'm getting an error - Error: 'floatable' is undefined...
- May 15, 2009 - We want to set a specific width for each top level item in the menu html code
- May 31, 2009 - Is there a way submenu's to be the same for first and second level in menu html code
- Jun 18, 2009 - The background images is missing in menu html code
- Jul 05, 2009 - My menu html code submenu is not display at the correct position with Firefox.
- Jul 23, 2009 - I can't see menu html code on my test page only direct links...
- Aug 08, 2009 - If a user selects menu html code in the upper frame he get the menu html code that is in the content frame...
- Aug 26, 2009 - I want to change the menu html code item link text from status bar messages to another value?
|