Skip to content

pyjun01/slide-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

간단한 슬라이드 플러그인.

Main

js/
└── slide.js     (16.6 KB)

Getting started

Quick start

Two quick start options are available:

Installation

Include files:

<script src="/path/to/Slide.js"></script>

Usage

  var Slider1= new Slider({
    slideWrap:'.slider1',  //slide wrap
	  Canvas: "#canvas",// canvas name
	  Auto: false,
	  Autotime: 3000,// auto slide delay
	  Slidetime: 	1000,// duration
	  pageBtn: ".link-list",// page btn wrap name
	  PrevArrowBtn: ".btn-prev",
	  NextArrowBtn: ".btn-next",
	  setSlides:{
		  wrap: '.slide-list',// wrap
		  list: '.slide-list li',// wrap list
		  viewClass : 'active'// focus class
	  },
	  progress_bar:".slide-progress>.progress",//progressbar
	  S: 200,// clip short
	  L: 400,// clip long
  }, {//callback
    onInit: function (){}, // Slide Ready
    onSlideStart: function (){}, // Slide start
    onSlideChanged: function (){}, // Slide end
  });

Releases

No releases published

Packages

No packages published