JQuery tools - slide show

I am trying to get to know the jQuery tools - a slideshow from Flowplayer ( http://flowplayer.org/tools/tabs/slideshow.html ). Someone tell me how to choose, for example. tab2 as the beginning by default or how to switch to another tab at startup?

Thanks in advance,

Jurgen

+3
source share
3 answers

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

find initialIndexin the configuration property ...

+2
source
$(".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();
+1
source

Source: https://habr.com/ru/post/1756872/


All Articles