1
$(function() {
$('.jcarousel')
\t \t \t \t .jcarousel({
\t \t \t \t \t auto: 1,
\t \t \t \t \t animation: {
\t \t \t \t \t \t duration: 3000,
\t \t \t \t \t \t easing: 'linear',
\t \t \t \t \t },
\t \t \t \t \t vertical: true,
\t \t \t \t \t wrap: 'last'
\t \t \t }).jcarouselAutoscroll({
\t \t \t \t \t interval: 3000,
\t \t \t \t \t target: '+=1',
\t \t \t \t \t autostart: true
\t \t \t \t });
});
ul li {
list-style-type: none;
}
.jcarousel {
position: relative;
overflow: hidden;
width: 100%;
height: 88px;
}
.jcarousel li {
float: left;
width: 100%;
}
<script src="https://cdnjs.cloudflare.com/ajax/libs/jcarousel/0.3.4/jquery.jcarousel.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div class="row">
<div class="jcarousel">
<ul>
<li>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has
survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop
publishing software like Aldus PageMaker including versions of Lorem Ipsum.</li>
<li>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has
survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop
publishing software like Aldus PageMaker including versions of Lorem Ipsum.</li>
<li>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has
survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop
publishing software like Aldus PageMaker including versions of Lorem Ipsum.</li>
<li>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has
survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop
publishing software like Aldus PageMaker including versions of Lorem Ipsum.</li>
<li>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has
survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop
publishing software like Aldus PageMaker including versions of Lorem Ipsum.</li>
</ul>
</div>
</div>
所述UL容器是表示顶部位置所计算出的样式改变,但转盘犯规滚动的内容。请帮忙。这是jCarousel Version。这是我的Codepen。只需要最后一块垂直滚动条即可工作。
谢谢!!!!太棒了,那你帮忙! – alphapilgrim
乐意帮忙!祝你好运! – AtheistP3ace