多角度展示产品
如果想要完美但是复杂一些的效果可以参考《360度产品展示,js+图片》

JavaScript Code
- <script type="text/javascript">
- $(document).ready(function(){
- // You can specify an array of images outside of the rollerblade method,
- // and then pass it in, as so:
- var arrayOfImages = [
- 'img/m1.jpg',
- 'img/m2.jpg',
- 'img/m3.jpg',
- 'img/m4.jpg',
- 'img/m5.jpg',
- 'img/m6.jpg',
- 'img/m7.jpg'
- ]
- $("#target").rollerblade({imageArray:arrayOfImages});
- // OR you can create the array directly in the options object, as so:
- $("#target").rollerblade({imageArray:[
- 'path/to/image/1.jpg',
- 'path/to/image/2.jpg',
- 'path/to/image/3.jpg',
- 'path/to/image/4.jpg',
- 'and/so/on.jpg'
- ]});
- })
- </script>
原文地址:http://www.freejs.net/article_jquerytupiantexiao_424.html
最近更新
- 响应式全屏手风琴菜单,同时支持垂直方...
- 分组select选择器,支持多选和单...
- jQuery时间日期选择器代码日历插...
- Select 选择器 可以清空的单选...
- jQuery json 无刷新翻页 ...
- 纯css3带倒影效果的图片翻转特效
我爱薅羊毛
点击最多
广告赞助
相关文章
- 超简单的jquery 左右滚动图片,箭头控制左右滚...
- jQuery 几种不同的slide滑动banner...
- jQuery响应式图片跑马灯 无缝滚动
- jQuery支持鼠标滚轮缩放以及点击按钮缩放图片插...
- scrollable各种无缝滚动演示,包括水平/垂...
- 支持PC和移动端的滑块式验证码 拖动拼图式验证码