Jquery图片无缝连续循环支持上下左右的滚动
XML/HTML Code
- <div class="g1">
- <ul>
- <li><img src="../demo1.jpg"></li>
- <li><img src="../demo2.jpg"></li>
- <li><img src="../demo3.jpg"></li>
- <li><img src="../demo4.jpg"></li>
- </ul>
- </div>
JavaScript Code
- <script type="text/javascript">
- $(function(){
- imgScroll.rolling({
- name:'g1',
- width:'380px',
- height:'180px',
- direction:'top',
- speed:10,
- addcss:true
- });
- })
- </script>
原文地址:http://www.freejs.net/article_daohangcaidan_908.html