我正在使用 jquery 周期 2 来获得连续的幻灯片效果... http://jquery.malsup.com/cycle2/demo/continuous.php
这是代码:
<div class="cycle-slideshow cycle-autoinit"
data-cycle-fx="scrollHorz"
data-cycle-slides="> div"
data-cycle-speed="3000"
data-cycle-pause-on-hover="true"
data-cycle-timeout="1"
data-cycle-easing="linear"
data-cycle-carousel-visible=5>
<div>
<a href="@slide.Link" target="_blank">
<img src="@Url.Content("~/content/cms/slideshow/")@slide.ImageName" alt="" /></a>
</div>
<div>
<a href="@slide.Link" target="_blank">
<img src="@Url.Content("~/content/cms/slideshow/")@slide.ImageName" alt="" /></a>
</div>
</div>
这行得通。然而,只有一个图像在屏幕上滑动,然后出现下一个。我想要的是所有图像彼此相邻滑动,所以像 5 一样出现并旋转旋转?