Sure you could add this as an option to the class it belongs to - min/ max time checks in the increase/decrease functions.
Other classes, e.g. spinning a money value could then have their own individual limits. I thought of creating a date-spinner, too like going up by days, weeks, months, years - maybe by holding down shift for months, alt for years - the sky's the limit :-) On 5 Jul., 20:56, Trevor Orr <[email protected]> wrote: > Pretty nice, I really like the auto focus being an option. If you want to > setup min/max values for the elements you would do that through the > TimeSpinner > class in the increaseValue and decreaseValue functions? I think that would > be nice to be able to specify that through the options. > > > > > > > > On Tue, Jul 5, 2011 at 11:32 AM, Fli7e <[email protected]> wrote: > > Nothing new at all but maybe i could help someone to save some > > time ... > > > A mousewheel controlled increase/decrease input form with no style at > > all but functional > > >http://jsfiddle.net/Fli7e/S6pvM/ > > > A base Class managing the event stuff - nothing more - and an > > extending class to add time (hour / minute ) spinning. > > > I made this one as i was in need of for my actual intranet project > > (working time management). > > > Any feedback appreciated and have fun using it if any of you would.
