Repository navigation
Options
Dimitris Krestos edited this page Dec 16, 2013
·
33 revisions
$('.tabs').tabslet({ mouseevent: 'click', attribute: 'href', animation: false, autorotate: false, delay: 6000, active: 1, controls: { prev: '.prev', next: '.next' } });
- Select tab on click or on hover
- options: click, hover
$('.tabs').tabslet({ mouseevent: 'hover' });
- Use href or alt attribute to select tabs
- options: href, alt
$('.tabs').tabslet({ attribute: 'alt' });
- Enables javascript animation effect on tabs change
- options: false, true
$('.tabs').tabslet({ animation: true });
- Enables automatic rotation of the tabs
- options: false, true
$('.tabs').tabslet({ autorotate: true });
- Sets the delay on automatic rotation
- options: number in ms
$('.tabs').tabslet({ autorotate: true, delay: 6000 });
- Set previous and next element
- options: element class
$('.tabs').tabslet({ controls: { prev: '.prev', next: '.next' } });
- Select which tab will be visible at the beginning
- options: number
$('.tabs').tabslet({ active: 1 });