我需要使用导航的第一个滑块和第二个自动但单击导航按钮运行两个滑块。代码在这里:
<script type="text/javascript">
jQuery(function(){
jQuery('.scrollsingle').cycle('prev');
jQuery('.scrollsingle ').cycle('next');
});
</script>
<button data-cycle-cmd="prev">Prev</button>
<button data-cycle-cmd="next">Next</button>
<div class="images scrollsingle cycle-slideshow"
data-cycle-fx="scrollHorz"
data-cycle-timeout="4000"
data-cycle-slides="> div">
<div>content</div>
<div>content</div>
<div>content</div>
<div>content</div>
</div>
<article class="span3 box boxstaff cycle-slideshow"
data-cycle-fx="scrollHorz"
data-cycle-timeout="2000"
data-cycle-slides="> div"
>
<div>content</div>
<div>content</div>
<div>content</div>
<div>content</div>
</article>