jQuery Slider is easy to use and multifunctional jQuery plugin that supports any webkit based touch mobile devices such as iPhone/iPod/iPad and Android. Below you can find demos and documentation.
{ from: 5, to: 50, step: 2.5, round: 1, format: { format: '##.0', locale: 'de' }, dimension: ' €' }
{ from: 5000, to: 150000, heterogeneity: ['50/50000'], step: 1000, dimension: ' $' }
{ from: 0, to: 500, heterogeneity: ['50/100', '75/250'], scale: [0, '|', 50, '|' , '100', '|', 250, '|', 500], limits: false, step: 1, dimension: ' m<small>2</small>' }
{ from: 1, to: 30, heterogeneity: ['50/5', '75/15'], scale: [1, '|', 3, '|', '5', '|', 15, '|', 30], limits: false, step: 1, dimension: '', skin: "blue" }
{ from: 480, to: 1020, step: 15, dimension: '', scale: ['8:00', '9:00', '10:00', '11:00', '12:00', '13:00', '14:00', '15:00', '16:00', '17:00'], limits: false, calculate: function( value ){ var hours = Math.floor( value / 60 ); var mins = ( value - hours*60 ); return (hours < 10 ? "0"+hours : hours) + ":" + ( mins == 0 ? "00" : mins ); }, onstatechange: function( value ){ console.dir( this ); } }
$(".selector").slider()
$(".selector").slider("value")
$(".selector").slider("value", p1, p2)
$(".selector").slider("prc")
$(".selector").slider("prc", p1, p2)
$(".selector").slider("calculatedValue")
$(".selector").slider("skin", skin)
number
number
number
number
object
array
string
boolean
array
string
function(value)
function(value)
function(value)
View project on GitHub Download jQuery Slider
(MIT License) — Copyright © 2012 Egor Khmelev