Hello guys. I’ve been working hard last time for my new project Bookmate, it was cause of my timeout with fixing some important bugs in slider.
There are a lot of people who really liked my slider plugin and suggest some ideas how to improve it. I’m here come up with new version of slider plugin.
First, the bug when two pointers are at the right of slider range. There was nothing you can do with that. So, this is really important.
Second, some people asked to have ability to change pointers position dynamically. I was really tried to make this easiest as possible. If you have any improvement or ideas, please write it down.
Next, I’ve checked all with jQuery 1.4.2, there is no problems.
And in addition, I’ve added some nice skins: “round”, “plastic” and “round-plastic”.
|
Download sources & examplesjSlider.zip, 78Kb |
Skins sourcesjSlider.psd, 140Kb |
New features
- $(“.selector”).slider() — get inner slider object
- $(“.selector”).slider( “value” ) — get values scope
- $(“.selector”).slider( “value”, opt_pointer1, opt_pointer2 ) — set values to pointers
- $(“.selector”).slider( “prc” ) — get percentage values scope
- $(“.selector”).slider( “prc”, opt_pointer1, opt_pointer2 ) — set percentage values to pointers
- $(“.selector”).slider( “calculatedValue” ) — get values scope from “calculate” function
- $(“.selector”).slider( “skin”, skin ) — set skin to slider
Updates
- iPhone/iPod/iPad supports
Further features
- Change pointer’s value by clicking on scale
- Disable (fix) pointers or whole slider
- Coloured portion for one pointer’s slider
- Vertical placement