Scrolls tabs if they overflow.
scroll(direction)

direction | string, direction of scrolling

Returns undefined.

#### Description

Scrolling will only be applied of the container where tabs are displayed is smaller then rendered tabs. The direction argument can be either 'left' or 'right'.
If you have tabs defined in the following way: $('#tabs').w2tabs({ name: 'tabs', active: 'tab1', tabs: [ { id: 'tab1', text: 'Tab 1' }, { id: 'tab2', text: 'Tab 2' }, { id: 'tab3', text: 'Tab 3', disabled: true }, { id: 'tab4', text: 'Tab 4' } ] }); You can trigger scroll in the following way: w2ui['tabs'].scroll('right');