# chopslider
**Repository Path**: www.hgj.com/chopslider
## Basic Information
- **Project Name**: chopslider
- **Description**: chopslider幻灯片插件,实现各种奇特炫酷效果的图片轮播。
- **Primary Language**: JavaScript
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 9
- **Forks**: 0
- **Created**: 2014-12-25
- **Last Updated**: 2024-04-29
## Categories & Tags
**Categories**: jquery-plugins
**Tags**: None
## README
#chopslider
#demo示例:
html:
demo chopSlider3
css:
html,body {
background: #fff;
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
margin: 0;
padding: 0;
position: relative;
height: 100%;
width: 100%;
line-height: 1.4em;
color: #444;
}
.cs3 {
width: 600px;
height: 300px;
position: absolute;
z-index: 10;
margin: auto;
right: 0;
bottom: 0;
left: 0;
top: 0;
}
.cs3-slide-prev {
background: url(skins/wood-nav.png) no-repeat left top;
width: 20px;
height: 33px;
position: absolute;
z-index: 11;
left: 10px;
top: 140px;
}
.cs3-slide-next {
background: url(skins/wood-nav.png) no-repeat left bottom;
width: 20px;
height: 33px;
position: absolute;
z-index: 11;
right: 10px;
top: 140px;
}
.cs3-pagination {
position: absolute;
text-align: center;
bottom: 20px;
left: 50%;
margin-left: -50px;
background-color: rgba(255,255,255,0.4);
}
.cs3-pagination-switch {
width: 10px;
height: 10px;
background: url(skins/whitepane-pag.png) no-repeat left top;
display: inline-block;
margin: 0 5px;
}
.cs3-active-switch {
background: url(skins/whitepane-pag.png) no-repeat left bottom;
}
js:
$(function() {
var g = $(".cs3").html(),
e = {
effects: "tiles3d",
autoplay: {
enabled: !0,
delay: 2E3
},
navigation: {
enabled: !0,
next: ".cs3-slide-next",
prev: ".cs3-slide-prev"
},
pagination: {
enabled: !0,
container: ".cs3-pagination"
}
};
$(".cs3").cs3(e);
});