Can you guide me on how to change tab selection dynamically for the tabbed navigation
Return to Recent Questions
Q:
I have a question regarding deluxe tab implementation.
Can you guide me on how to change tab selection dynamically for the tabbed navigation.
A:
Deluxe Tabs doesn't support API functions which can return the selected tab.
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 02, 2006 - Little vertical spacers between menu items in the drop down menu.
- Oct 01, 2006 - All of the items in html pull down menu are different sizes.
- Oct 31, 2006 - Is it possible to use the AXAJ-Like technology and Javascript-API in css pop up menu?
- Nov 25, 2006 - I need only one column of submenu html to be displayed, all other columns should be closed.
- Dec 11, 2006 - How to add the new items to the dhtml vertical menu without using two data.js files?
- Dec 29, 2006 - Flash element in Firefox disappears behind the javascript mouse over menu.
- Jan 15, 2007 - I can't put the javascript layer menu where I want it on my page.
- Jan 31, 2007 - I tried to create the html version of the rollover menus. It is still not working.
- Feb 17, 2007 - How can I setup Font Size, color for individual level, button in the bar websites?
- March 04, 2007 - I’d like to generate a javascript pull down menu with NO DROP SHADOW effect
- March 21, 2007 - What can I do for people who have Javascript turned off so they can't use xml menu
|