[英]Jquery Scrollable, is it possible to customize it with a scroll bar?
Jquery Scrollable是Jquery Tool的工具,可滾動圖像/視頻列表
http://jquerytools.org/demos/scrollable/
但是我只是想知道,有沒有人嘗試過使用滾動條自定義它。 我的意思是我們要在下一頁使用Jquery scrollable
http://www.space.ca/Face-Off.aspx
但是我們希望將滾動條保持在底部,而不是使用左右箭頭在視頻輪播中滾動。
那有可能嗎? 如果您已經完成了JQuery Scrollable的自定義並使用了滾動條,請與我分享一些技巧
非常感謝
您可以使用普通的CSS將其存檔:
<div class="scrollMe">
<div>Do what ever you want</div>
</div>
然后確保您的css正確無誤:
.scrollMe {
overflow-x: hidden;
overflow-y: scroll;
white-space: nowrap; /* this is important for you, this means that you will keep everything in a single line which will make this guy scroll on the y-axis. If you need multiline on the childs you need to set: white-space: nowrap; on the childs */
}
並且您所有的塊級子級都需要display: inline-block;
:
.scrollMe > div {
display: inline-block;
}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.