advanceSelectedTab( dir, wrap )
1
, the currently selected tab changes to the next tab. If the argument dir is set to -1
, the currently selected tab changes to the previous tab. If the wrap argument is true
, the adjustment will wrap around when the first or last tab is reached.