qingguoing / SlideJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:JavaScript 61.5%Language:CSS 20.2%Language:HTML 18.4%