Skip to content

Latest commit

 

History

History
78 lines (61 loc) · 1.49 KB

README.md

File metadata and controls

78 lines (61 loc) · 1.49 KB

Fastslide Code Climate

Customizable, easy and quick application.

This plugin requires jQuery

Install

Instalation using bower.

bower install fastslide.js --save

or download the .zip here.

Options

autoPlay

Type: Boolean Default true

Sets the automatic rotation of slides

dots

Type: Boolean Default false

allows accurate selection of the desired slide

keyboard

Type: Boolean Default true

enables navigation through keyboard arrows

time

Type: number Default 5000

Sets the time interval for changing slides

delay

Type: number Default 1000

Sets the delay of the transition from slides

Basic markup

<div class="fs-container">
  <div class="fastslide">
    <img class="image" src="your-image.jpg">
    <img class="image" src="your-image.jpg">
    <img class="image" src="your-image.png">
    <img class="image" src="your-image.jpg">
  </div>
</div>

<script src="../src/fastslide.min.js"></script>
  <script>
    $(function(){
      $('.fastslide').fastSlide();
    });
  </script>

Basic style

html, body, .image {
  margin: 0px;
  padding: 0px;
}
.fs-container {
  width: 100%;
  overflow: hidden;
}
.fastslide {
  position: relative;
}
.image {
  float: left;
}

License

MIT