Commit a81b71e9 by liangjianmin

css

parent 7126ee76
...@@ -47,11 +47,9 @@ ul, li { list-style: none; } ...@@ -47,11 +47,9 @@ ul, li { list-style: none; }
} }
.shutter-btn li.prev { .shutter-btn li.prev {
left: 20px; left: 20px;
background: url(../images/shutter_prevBtn.png) no-repeat 0 -49px;
} }
.shutter-btn li.next { .shutter-btn li.next {
right: 20px; right: 20px;
background: url(../images/shutter_nextBtn.png) no-repeat 0 -49px;
} }
.shutter-desc { .shutter-desc {
position: absolute; position: absolute;
......
...@@ -17,10 +17,10 @@ ...@@ -17,10 +17,10 @@
<body> <body>
<div class="shutter"> <div class="shutter">
<div class="shutter-img"> <div class="shutter-img">
<a href="#" ><img src="images/fuwu.png" alt="#"></a> <a><img src="images/fuwu.png" alt="#"></a>
<a href="#" ><img src="images/licheng.png" alt="#"></a> <a><img src="images/licheng.png" alt="#"></a>
</div> </div>
<ul class="shutter-btn" style="display:none"> <ul class="shutter-btn">
<li class="prev"></li> <li class="prev"></li>
<li class="next"></li> <li class="next"></li>
</ul> </ul>
...@@ -36,8 +36,8 @@ ...@@ -36,8 +36,8 @@
<script type="text/javascript"> <script type="text/javascript">
$(function () { $(function () {
$('.shutter').shutter({ $('.shutter').shutter({
shutterW: 1000, // 容器宽度 shutterW: 3840, // 容器宽度
shutterH: 358, // 容器高度 shutterH: 2160, // 容器高度
isAutoPlay: true, // 是否自动播放 isAutoPlay: true, // 是否自动播放
playInterval: 5000, // 自动播放时间 playInterval: 5000, // 自动播放时间
curDisplay: 1, // 当前显示页 curDisplay: 1, // 当前显示页
......
...@@ -11,10 +11,10 @@ ...@@ -11,10 +11,10 @@
this.defaults = { this.defaults = {
shutterW: 1200, shutterW: 1200,
shutterH: 500, shutterH: 500,
isAutoPlay: false, isAutoPlay: true,
playInterval: 3000, playInterval: 3000,
curDisplay: 0, curDisplay: 0,
fullPage: false fullPage: true
}; };
this.opts = $.extend({}, this.defaults, options); this.opts = $.extend({}, this.defaults, options);
...@@ -194,11 +194,11 @@ ...@@ -194,11 +194,11 @@
this.play(); this.play();
this.$shutter.hover(function () { /* this.$shutter.hover(function () {
clearInterval(self.playTime); clearInterval(self.playTime);
}, function () { }, function () {
self.play(); 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