html5圆形旋转菜单js,jquery 圆形旋转图片滚动切换效果

这个效果比较特别,可爱,所以在外面网站没怎么看到过,有兴趣的朋友可以下载后自己使用。

PS: 经过修改已经兼容大众浏览器。

效果图:

9e68a50e1482db6f9c0133d855eed617.png

在线演示:http://demo.jb51.net/js/ImagesRotateScroll/index.html

Step1. 创建HTML

  • Chun-Li
  • VEGA
  • DHAISIM
  • KEN
  • BALROG
  • CAMMY
  • GOUKI
  • BLANKA
  • HONDA
  • FEI LONG
  • GUILE
  • RYU
  • SAGAT
  • THWAK
  • ZANGIEF

Step2. 创建CSS

#rotatescroll {

width: 300px;

height: 300px;

margin: 0 auto;

position: relative;

}

#rotatescroll .viewport{

width: 300px;

height: 300px;

position: relative;

margin: 0 auto;

overflow: hidden;

}

#rotatescroll .overview {

width: 798px;

position: absolute;

list-style: none;

margin: 0;

padding: 0;

left: 0;

top: 0;

}

#rotatescroll .overview li {

width: 300px;

height: 300px;

float: left;

position: relative;

}

#rotatescroll .overlay {

height: 300px;

width: 300px;

background: url(../images/bg-rotatescroll.png) no-repeat 0 0;

position: absolute;

left: 0;

top: 0;

}

#rotatescroll .thumb {

width: 26px;

height: 26px;

z-index: 200;

background: url(../images/bg-thumb.png) no-repeat 50% 50%;

position: absolute;

top: 0px;

cursor: pointer;

left: 0px;

}

#rotatescroll .dot {

background: url(../images/bg-dot2.png) no-repeat 0 0;

display: none;

height: 12px;

width: 12px;

position: absolute;

left: 155px;

top: 3px;

z-index: 100;

}

#rotatescroll .dot span { display: none; }

Step3. 插入jQuery和脚本包

打包下载 //www.jb51.net/jiaoben/34107.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值