Home > WKSlider

WKSlider

WKSlider is a project mainly written in ..., it's free.

A touch slider UI JavaScript plugin for Mobile Webkit

WKSlider - Usage

First, include the main JavaScript file and CSS stylesheet in the header of your HTML document:

Next, insert the following markup into your HTML for the slider:

Finally, initialize the plugin by including the following JavaScript just before the end tag in your HTML. Put your own code within the callback() method for what you want to happen when the slider is moved. The callback() method by default returns a variable that contains percentage (0 to 100).