Commit a81b71e9 by liangjianmin

css

parent 7126ee76
......@@ -47,11 +47,9 @@ ul, li { list-style: none; }
}
.shutter-btn li.prev {
left: 20px;
background: url(../images/shutter_prevBtn.png) no-repeat 0 -49px;
}
.shutter-btn li.next {
right: 20px;
background: url(../images/shutter_nextBtn.png) no-repeat 0 -49px;
}
.shutter-desc {
position: absolute;
......
......@@ -17,10 +17,10 @@
<body>
<div class="shutter">
<div class="shutter-img">
<a href="#" ><img src="images/fuwu.png" alt="#"></a>
<a href="#" ><img src="images/licheng.png" alt="#"></a>
<a><img src="images/fuwu.png" alt="#"></a>
<a><img src="images/licheng.png" alt="#"></a>
</div>
<ul class="shutter-btn" style="display:none">
<ul class="shutter-btn">
<li class="prev"></li>
<li class="next"></li>
</ul>
......@@ -36,8 +36,8 @@
<script type="text/javascript">
$(function () {
$('.shutter').shutter({
shutterW: 1000, // 容器宽度
shutterH: 358, // 容器高度
shutterW: 3840, // 容器宽度
shutterH: 2160, // 容器高度
isAutoPlay: true, // 是否自动播放
playInterval: 5000, // 自动播放时间
curDisplay: 1, // 当前显示页
......
......@@ -11,10 +11,10 @@
this.defaults = {
shutterW: 1200,
shutterH: 500,
isAutoPlay: false,
isAutoPlay: true,
playInterval: 3000,
curDisplay: 0,
fullPage: false
fullPage: true
};
this.opts = $.extend({}, this.defaults, options);
......@@ -194,11 +194,11 @@
this.play();
this.$shutter.hover(function () {
/* this.$shutter.hover(function () {
clearInterval(self.playTime);
}, function () {
self.play();
});
}); */
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment