Closed getdave closed 12 years ago
Hi Dave - I shall integrate it into the code this weekend. Thanks for taking the time to do this.
Hi Brian - not a problem. Just a little tweak to provide a tiny bit more flexibility. I hope it's useful.
Cheers
Finally, back from vacation and added the code. I've renamed the option "userSnap" though (from the suggested "userInputSnap").
Again, thanks for the input - much appreciated!
No problem
Thanks for the great script.
I had a client request that if his user enters a value directly into the input element, then this should overide the "step" and possibly also the formatting rules.
However, if the slider handle is activated it should behave as normal.
See: https://twitter.com/#!/freqdec/status/184989550270091264
I've hacked the script as suggested and I thought I'd share the result just in case it's of interest.
Global options:
Method: onInputChange()
Method: setInputValue():
I hope that makes sense.