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:
- Oct 22, 2006 - Why I now have double drag menus and how to correct?
- Jan 05, 2007 - In Delux Tuner I can not find how to make menus multi-level or multi-column
- Jan 09, 2007 - I'm still can't understand how to make drop down menus
- Jan 14, 2007 - I can't however find the option in your menu makers to move submenus closer together
- Jan 15, 2007 - Is there a way to show a link in the menu drop down if there is no JavaScript?
- Jan 27, 2007 - The Janarator image does not show javascript menu example
- Feb 10, 2007 - Is there any functionality for tree menu script to show/hide specific branches?
- Feb 17, 2007 - How I can edit/specify the color schemes on the Glass style tabs in html?
- Feb 21, 2007 - The down arrows of my vertical menu css only show on the main page, how to fix it?
- Feb 23, 2007 - When I upgraded the browser to IE 7, the html sliding menu doesnot show any more.
- March 02, 2007 - Is there a way to establish a setting such that when a toggle menu Item is CLICKED
|