Oh, noes! This widget suffers from so many usability issues I can't believe it still exists.
1. controls are microscopic 2. it's not obvious you can switch between fields by clicking on them since fields are enclosed in a single box with no visible separators 3. you cannot jump to desired values (you must cycle through values) The optimal control would: 1. use familiar mechanism for selecting values 2. enable jumping to desired values 3. separate the components A set of drop-downs or text boxes will do just fine in satisfying the above requirements. I'll write the widget for you if you want, as soon as I'm done with e4s layout. On Sat, Nov 13, 2010 at 5:55 PM, mdipierro <mdipie...@cs.depaul.edu> wrote: > Ok timeEntry it is. I will replace it today. > > On Nov 13, 8:24 am, Nathan Freeze <nat...@freezable.com> wrote: >> This would be a good slice :) >> >> On Sat, Nov 13, 2010 at 6:29 AM, villas <villa...@gmail.com> wrote: >> > If you want to try it... >> >> > 1). Download files: >> >http://keith-wood.name/timeEntry.html >> > Optionally this: >> >http://plugins.jquery.com/files/jquery.mousewheel.3.0.2.zip >> >> > 2). Add to views/layout.html >> > {{response.files.append(URL(request.application,'static','css/ >> > jquery.timeentry.css'))}} >> > {{response.files.append(URL(request.application,'static','js/ >> > jquery.timeentry.js'))}} >> > {{response.files.append(URL(request.application,'static','js/ >> > jquery.mousewheel.min.js'))}} >> >> > 3). Make sure those 3 files above are copied into the folders under >> > static dir. >> >> > 4). Copy spinnerDefault.png into static/images >> >> > 5). In views/web2py_ajax.html replace this: >> >> > try { jQuery("input.time").clockpick({ >> > starthour:0, endhour:23, showminutes:true, military:true >> > }); } catch(e) {}; >> >> > ...with... >> >> > try { jQuery("input.time").timeEntry({spinnerImage: >> > "{{=URL('static','images/spinnerDefault.png')}}", show24Hours: true, >> > timeSteps: [1, 30, 0], minTime: new Date(0, 0, 0, 7, 00, 0), maxTime: >> > new Date(0, 0, 0, 22, 00, 0) >> > }); } catch(e) {}; >> >> > I included a couple of optional settings so you can see how they work >> > in combination. >> >> > It only takes a couple of minutes to set it up like this. Hope I >> > didn't forget anything. :) >> >> > -D >> >> -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group