360度产品展示,js+图片
图片是37张,路径在下面的代码里面,index从1到37,相当于每10度一张图片.

XML/HTML Code
- <div id="threesixty" image_count='37' path_pattern='http://www.vivo.com.cn/vivo/xplay3s/360/img-white/white#index#.jpg' end_frame='74' scale='1' fix_width='400' fix_height='400' max_width='400' max_height='400'>
- <em class="loading"><p>0%</p></em>.
- <ol></ol>
- </div>
CSS Code
- #threesixty{position:absolute;overflow:hidden;top:70px;left:0;width:100%;height:100%; }
- #threesixty ol{display: none;}
- #threesixty img{position:absolute;top:0;width:100%;height:auto;}
- .current-image{visibility:visible;width:100%;}
- .previous-image{visibility:hidden;width:0;}
- #threesixty .loading{position:absolute;left:50%;top:50%;width:90px;height:90px;margin-left:-45px;margin-top:-50px;display:none;}
- #threesixty .loading span{position:absolute;top:50%;width:100%;color:#333;font-size:12px;font-family:Arial, Verdana, sans;text-align:center;line-height:1em;margin-top:-0.5em;}
- #threesixty em.loading{width:55px;padding:40px 0 0 0;display:block;position:absolute;top:50%;left:50%;margin:-27px 0 0 -27px;background:url(images/loading-ico.gif) no-repeat 10px 0;z-index:999999;text-align:center;font-size:12px;color:#219edf;font-family:Arial;font-style:normal;}
原文地址:http://www.freejs.net/article_jquerytupiantexiao_355.html
最近更新
- jQuery json 无刷新翻页 ...
- 纯css3带倒影效果的图片翻转特效
- jQuery网站右下角悬浮留言表单代...
- jquery宽屏焦点图片动画轮播代码
- jquery带缩略图可触摸焦点图
- jquery无刷新分页
我爱薅羊毛
点击最多
广告赞助
相关文章
- 超简单的jquery 左右滚动图片,箭头控制左右滚...
- jQuery 几种不同的slide滑动banner...
- jQuery响应式图片跑马灯 无缝滚动
- jQuery支持鼠标滚轮缩放以及点击按钮缩放图片插...
- scrollable各种无缝滚动演示,包括水平/垂...
- 支持PC和移动端的滑块式验证码 拖动拼图式验证码