该滑块 FancyTransitions 不支持随机效果。所以要解决这个问题,我需要effect: 'curtain'
随机的值,可以是“窗帘”、“拉链”或“波浪”。除非有更好的解决方法。
<script type="text/javascript">
$(document).ready( function(){
$('#slideshowHolder').jqFancyTransitions({
width: 500, // width of panel
height: 333, // height of panel
strips: 10, // number of strips
delay: 4000, // delay between images in ms
stripDelay: 50, // delay beetwen strips in ms
titleOpacity: 0.7, // opacity of title
titleSpeed: 1000, // speed of title appereance in ms
position: 'alternate', // top, bottom, alternate, curtain
direction: 'random', // left, right, alternate, random, fountain, fountainAlternate
effect: 'curtain', // curtain, zipper, wave
navigation: false, // prev next and buttons
links : false // show images as links });
});
</script>