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


 

    Could I create a function that displays the tab that the user clicked in the left tab menu.

Return to Recent Questions


Q: Could I create a function that displays the tab that the user clicked in the left tab menu.
These tabs are all within the same window, so the page will always be the same.
Just need a function to make different tabs appear.

A: Unfortunately Deluxe Tabs doesn't support API functions now.

You can use the following function to open specific tab:
dtabs_itemClick(menuInd,itemInd);
where
menuInd - index of a tab menu on a page, >= 0.
itemInd - index of a item, >=0.

For example:

<DIV onClick="dtabs_itemClick(0,2)" style="width: 200px; border: 2px solid #000;">Click to open the third tab</DIV>



Return to Recent Questions

Related:
Bootstrap Columns Mobile Bootstrap Checkbox Label  |  Bootstrap Menu Responsive  |  Bootstrap Grid Tutorial  |  Bootstrap Accordion Table  |  Bootstrap Image Gallery  | 
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 | AI Website Generator | Free AI Website Generator | Website Generator AI | AI web page design generator