tags:

views:

518

answers:

2
+1  Q: 

YUI date slider?

Does anyone know about a YUI double-thumb slider that could be used for dates? I'd love to have a slider that lets a user select min/max date for a query. Each tick could be for the first day of the month. A user could then pick, for example, Jan 1, 2002 as a min and July 1, 2004 as a max.

+1  A: 

dunno about a yui-based slider, but there's a date range slider for jquery by filament group:

http://www.filamentgroup.com/lab/update%5Fjquery%5Fui%5Fslider%5Ffrom%5Fa%5Fselect%5Felement%5Fnow%5Fwith%5Faria%5Fsupport/

they also have a pretty sweet date range selector box:

http://www.filamentgroup.com/lab/date%5Frange%5Fpicker%5Fusing%5Fjquery%5Fui%5F16%5Fand%5Fjquery%5Fui%5Fcss%5Fframework/

jspcal
A: 

In YUI 2, there's a dual-thumb slider you could use as a foundation:

http://developer.yahoo.com/yui/examples/slider/slider_dual_with_highlight.html

In YUI 3 (this is not exactly what you're looking for), Stephen Woods has contributed a nice date/time picker control:

http://yuilibrary.com/gallery/show/timepicker

Eric Miraglia
Yeah, I could probably do that, except that I'm not a JavaScript expert, and certainly not a YUI expert. I was hoping for an easy, ready-made solution.
Gary Kephart