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


 

    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:
Top 53 Killer HTML Templates List Best 50 Inspirational and Beautiful HTML Themes Collection  |  Responsive Site Theme  |  Bootstrap Site Themes Review  |  Mobile-friendly Web Page Themes Review  |  Mobile Page Layouts Overview  | 
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 | Best AI Website Builder | AI Website Maker | AI Website Generator | AI website design generator