Skip to content

qingguoing/SlideJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SlideJS

Slider made with object-oriented methods, using native (vanilla) javascript

To be placed into the initiation code, and then passed to the relevant configuration objects, you can pass parameters are:

  • target {string} surrounded by images of the div id, the default slide
  • showMarker {boolean} whether to display the current image tag value, default false
  • marker {boolean} tag is ol li, default false
  • showController {boolean} about whether to display control marks, default false
  • setClass {object}
    • marker {string} mark CSS classes, separated by a space between a plurality of classes
    • active {string} marker of current active image
    • unactive {string} remaining markers of inactive images
    • controllerPrev {string} class of left control
    • controllerNext {string} class of right control

what's more, if the website is based on the jquery library, and you can see the plugin of jquery jquery-slide.js

Lisence

MIT

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published