jquery Slideshow Plugin SKIPPR

Source: Internet
Author: User
Tags time in milliseconds

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



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.