一款实用的能纵向滚动能横向滚动的图片滚动代码插件jsCarousel
来源:未知
编辑:admin
时间:2015-09-02
一款实用的能纵向滚动能横向滚动的图片滚动代码插件jsCarousel,
js代码
js代码
- <script type="text/javascript">
- $(document).ready(function() {
- $('#carouselv').jsCarousel({
- onthumbnailclick: function(src) {
- alert(src);
- },
- autoscroll: true,
- masked: false,
- itemstodisplay: 3,
- orientation: 'v'
- });
- $('#carouselh').jsCarousel({
- onthumbnailclick: function(src) {
- alert(src);
- },
- autoscroll: false,
- circular: true,
- masked: false,
- itemstodisplay: 5,
- orientation: 'h'
- });
- $('#carouselhAuto').jsCarousel({
- onthumbnailclick: function(src) {
- alert(src);
- },
- autoscroll: true,
- masked: true,
- itemstodisplay: 5,
- orientation: 'h'
- });
- });
- </script>
上一篇:jQuery实现支持鼠标滚轮的产品图片横向滚动
下一篇:没有了
下一篇:没有了
相关文章:
相关推荐:
网友评论:
栏目分类
最新文章