Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jQuery Tools - Slideshow

I am trying to get familar with the jQuery Tools - Slideshow from Flowplayer (http://flowplayer.org/tools/tabs/slideshow.html). Has anybody a hint for me how to select e.g. tab2 as start default, or how to switch to another tab when starting?

Thanks in advance,

Juergen

like image 792
Juergen Avatar asked Apr 08 '26 14:04

Juergen


2 Answers

http://flowplayer.org/tools/tabs/index.html

look for initialIndex in the configuration property...

like image 199
Reigel Avatar answered Apr 11 '26 06:04

Reigel


$(".slidetabs").tabs(".images > div", {

    // enable "cross-fading" effect
    effect: 'fade',
    fadeOutSpeed: "slow",

    // start from the beginning after the last tab
    rotate: true,

//set your default tab
current: "tab_2" //class name

// use the slideshow plugin. It accepts its own configuration
}).slideshow();
like image 34
Flakron Bytyqi Avatar answered Apr 11 '26 04:04

Flakron Bytyqi