SKIPPR is a slide with left and right arrow, index button, slide toggle effect and lightweight, fast
Set
Introduce Jquery.skippr.css, jquery.js, jquery.skippr.js Note that jquery must be before jquery.skippr.js
Create DIV element, add background-images style inside div tag
<div id= "Container" >
<div id= "Myskipper" >
<div style= "Background-image:url (css/img/ test1.jpg) "></div>
<div style=" Background-image:url (css/img/test2.jpg) "></div>
<div style= "Background-image:url (css/img/test3.jpg)" ></div>
</div>
</div>
Start
Select Target Element Call skipper method
$ (document). Ready (function () {
$ ("#myskipper"). SKIPPR ();
Options
$ (document). Ready (function () {
$ ("#myskipper"). SKIPPR ({
transition: ' Slide ',
speed:1000,
navtype : ' Block ',
arrows:true,
autoplay:false,
autoplayduration:5000,
keyboardonalways:true,
Hideprevious:false
});
transition: Specifies the slide transition type, and currently SKIPPR supports either ' fade ' or ' slide ' methods.
Speed: The transition time of the slide is 500 by default.
navtype: The shape of the navigation element. "Block" or "bubble", the default is "block".
Arrows: If the navigation arrows are displayed, the default is true, set to False to hide the arrows.
AutoPlay: Whether to use the slideshow auto-play feature. The default is False. Set to True to enable AutoPlay.
autoplayduration: Set the time in milliseconds, AutoPlay runs, display each slide, the default value is 5000 milliseconds.
hideprevious: If you want to hide the arrow for the first slide, the default is "false".
Effect Diagram:
Project Demo source Download: http://download.csdn.net/detail/itmyhome/7723757
Author: itmyhome