Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by kamaraju on Aug 07, 2009 05:28
open dhtmlx forum
Dhtmlxtabbar

Dear sir,
I need a functionality like onclick any button say on click of tab i should traverse from one tab to other , if iam in last tab if click tab it should move to tab1.
Answer posted by Alex (support) on Aug 07, 2009 06:14

Hello, 

there is setTabActive method that allows to change tab selection:

  tabbar.setTabActive(tabId);

Method goToNextTab() makes the next tab active.

The example is dhtmlxTabbar/samples/loading_creating_tabs_content/tab_ajax_html.html ( http://dhtmlx.com/docs/products/dhtmlxTabbar/samples/loading_creating_tabs_content/tab_ajax_html.html )