Is there way of selecting the tab in mouse over tab menu according to what webpage you are on?
Return to Recent Questions
Q:
Is there anyway of selecting the tab in mouse over tab menu according to what webpage you are on ?
A:
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=;
var bselectedSmItem=;
</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:
- Sep 05, 2006 - Change cursor to a hand when over a menu link...
- Sep 17, 2006 - How can your javascript onmouseover menu be set to open by click?
- Sep 23, 2006 - Is it possible that your menu call some javascript onmouseover event?
- Sep 24, 2006 - If there is a way of establishing the width at "runtime" in the javascript dynamic menu?
- Oct 21, 2006 - I want to get the URL or file name to be open in javascript mouseover menu by click...
- Oct 22, 2006 - When the html submenus are over applet in https: the applet disappeared.
- Oct 28, 2006 - Subitems of the mouseover menu don't close when the mouse goes away...
- Oct 30, 2006 - I don't see on my website dhtml mouseover menu that I saw on my local machine.
- Nov 05, 2006 - With the new version of javascript rollover menus, my body onload function is blocked.
- Nov 05, 2006 - The font color doesn't change when I roll over the dhtml side menu
- Nov 14, 2006 - Can dhtml menu script work with tables ?
|