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


 

    How do you enable or configure settings so that on default a specific "Tab" is always set to on or shown as the preload tab?

Return to Recent Questions


Q: Question: How do you enable or configure settings so that on default a specific "Tab" is always set to on or shown as the preload tab, I have a eStore page where I would like to insure that a specific Tab is always shown on default and all others are hidden on the first revealing of the page? Can you help?

A: Use the following parameters to set the selected top and submenu items:

var bselectedItem = 0;
var bselectedSmItem = 0;

Deluxe Tabs doesn't support API functions which can return the selected tab aslo.

You can set "bselectedItem" and "var bselectedSmItem" parameters based on your link before you call your data file.

For example, move "var bselectedItem" and "var bselectedSmItem" parameters from your data file to your code.

<TD vAlign=top align=left>
/* Select Tab */
<script type="text/javascript" language="JavaScript1.2">
var bselectedItem=<?php echo $seltabs; ?>;
var bselectedSmItem=<?php echo $selsmtabs; ?>;
</script>
<SCRIPT src="data.js" type=text/javascript></SCRIPT>
</TD>

You should define seltabs and selsmtabs using server side script.

You can also set it on every page before you call data.js file, for example:

<TD vAlign=top align=left>
/* Select Tab */
<script type="text/javascript" language="JavaScript1.2">
var bselectedItem=4;
var bselectedSmItem=3;
</script>
<SCRIPT src="data.js" type=text/javascript></SCRIPT>
</TD>





Return to Recent Questions

Related:
Smart Cheap and Easy Web Page Builder Tools | Honest Review Effective Link in Bio Services  |  HTML Page Creator Plugins / Overview  |  How To Embed Instagram Feed  |  First-rate Responsive Website Builder Software - Beginner-Friendly Guide  |  Top HTML Site Builder - 2021 Review  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. AI Website Builder | AI Website Maker | Free AI Website Generator | Website Generator AI | AI website design generator