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


 

    Just wondering if it is possible to select a specific dhtml tab via JavaScript.

Return to Recent Questions


Q: Just wondering if it is possible to select a specificdhtml tab via JavaScript.
Eg. A link on the page to select the next tab (or any other for that matter)

A: You can use the following function to open appropriate tab:

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:
Splendid JS Design Maker Overview 46 Fantastic CSS3 Web Page Templates Overview  |  Beautiful JS Page Theme Review  |  Perfect Responsive JS Website Templates Review  |  30+ Top Innovative Software Company Website Template List  |  Magical HTML Bootstrap Slider With Text Templates  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Best AI Website Builder | AI Website Builder | AI Website Maker | AI Website Generator | AI web design generator