我正在使用carouFredSel创建一个垂直轮播。一切都很好,除了我更喜欢部分项目显示在底部,裁剪,而不是隐藏。这样,它将向用户表明还有其他可以滚动的项目。
我一直在阅读文档,但到目前为止还不能确定我所追求的是否可能。
查看 JSFiddle 以了解我的意思。观看页面上最底部的项目。
Javascript
$("ul").carouFredSel({
direction: "up",
align: "top",
width: 100,
height: "100%",
items: {
visible: "variable",
width: 100,
height: "variable"
},
scroll: {
items: 1,
mousewheel: true,
easing: "swing",
duration: 500
},
auto: false,
prev: {
button: ".prev",
key: "up"
},
next: {
button: ".next",
key: "down"
}
});