设为首页 - 加入收藏
广告 1000x90
您的当前位置:主页 > 特效 > 滚动代码 > 正文

一款实用的能纵向滚动能横向滚动的图片滚动代码插件jsCarousel

来源:未知 编辑:admin 时间:2015-09-02
一款实用的能纵向滚动能横向滚动的图片滚动代码插件jsCarousel
一款实用的能纵向滚动能横向滚动的图片滚动代码插件jsCarousel,
js代码
  1. <script type="text/javascript"
  2. $(document).ready(function() { 
  3.     $('#carouselv').jsCarousel({ 
  4.         onthumbnailclick: function(src) { 
  5.             alert(src); 
  6.         }, 
  7.         autoscroll: true
  8.         masked: false
  9.         itemstodisplay: 3, 
  10.         orientation: 'v' 
  11.     }); 
  12.     $('#carouselh').jsCarousel({ 
  13.         onthumbnailclick: function(src) { 
  14.             alert(src); 
  15.         }, 
  16.         autoscroll: false
  17.         circular: true
  18.         masked: false
  19.         itemstodisplay: 5, 
  20.         orientation: 'h' 
  21.     }); 
  22.     $('#carouselhAuto').jsCarousel({ 
  23.         onthumbnailclick: function(src) { 
  24.             alert(src); 
  25.         }, 
  26.         autoscroll: true
  27.         masked: true
  28.         itemstodisplay: 5, 
  29.         orientation: 'h' 
  30.     }); 
  31.  
  32. });       
  33. </script> 

 

相关推荐:

网友评论:

发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:点击我更换图片
Copyright © 2021 众联设计之家

Power by DedeCms

Top