开发者

Galleria Jquery Transition Effects

So I am using galleria to show a slide show. I have it set to autoplay, so it shows a new picture every 3 seconds. Currently, the transition seems to b开发者_StackOverflow中文版e the picture sliding in from the right. Is there a way I can have it fade in? Pretty much any transition other then the sliding.

Thanks! Kevin


The default transition is 'fade', but if you're loading a theme this may not be the case, since most themes change the default, just set the transition option back to "fade", like this:

Galleria.loadTheme('/themes/classic/galleria.classic.js'); //loading theme
$('#demo').galleria({
    height:400,
    transition: 'fade'
});
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜