(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    When I load a page with dhtml menu sample, the first tab is always highlighted

Return to Recent Questions


Q: When I load a page with dhtml menu sample, 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:
First-rate Easy Website Builder | How-to Guide Fine Open Source Website Maker Software | 2021 Guide  |  Fantastic Bootstrap Page Themes For Your Company  |  Fine Responsive Web Page Builder | Overview  |  Effective Web Page Design Tools  |  Exceptional Drag and Drop Web Maker App - Honest Review  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Free AI Website Builder | AI Website Generator | AI Website Maker | Free AI Website Generator | AI website design generator