3 ms·
Cute. One thing that would improve it would be keyboard shortcuts. The editing of the number in the middle feels a bit awkward too. I guess it might make a n
by davidw 15y ago
Cute. One thing that would improve it would be keyboard shortcuts. The editing of the number in the middle feels a bit awkward too. I guess it might make a nice replacement for a slider in certain circumstances.
- rhizome 15y agoMaybe the mousewheel can be put to use here? http://archive.plugins.jquery.com/project/mousewheel http://archive.plugins.jquery.com/project/mousewheel (untested)
- dmethvin 15y agoKind of ... the focus has to be on the number before the mousewheel works though: http://jsfiddle.net/dmethvin/gDfcY/ http://jsfiddle.net/dmethvin/gDfcY/
- rhizome 15y agohmm, i was thinking along these lines: http://jsfiddle.net/gDfcY/6/ http://jsfiddle.net/gDfcY/6/ this gives NaN, tho, because I suck at javascript, but I'm sure there's something workable in there.
- yoklov 15y agohttp://jsfiddle.net/gDfcY/8/ http://jsfiddle.net/gDfcY/8/ Seems to work, but it's probably not the most elegant way it can be done