Yeah, I thought about html5 ranges; however while I don't need to support IE, I do have a wider audience than just devs, so I probably need to work on Firefox 3.6 at least. I might use modernizr to allow for html5 ranges where supported, and fall back to a simple text box otherwise; or maybe hack together a slider in raphael...
re: scriptaculous slider - I'm using jquery, don't really want to mix in scriptaculous as well. There are some jquery sliders out there, which I might consider. re: whoever dissed dials - yep, dials was probably a poor example :) Sliders + standard form elements probably cover most of my needs, now I think about it further. - Korny On Fri, Jul 9, 2010 at 11:04 AM, Lachie <[email protected]> wrote: > On Fri, Jul 9, 2010 at 9:50 AM, Korny Sietsma <[email protected]> wrote: > > Hi - I'm throwing together a page with some Raphael-based graphs and I > want > > to add some simple widgets to control the parameters used to draw the > graphs > > - things like sliders, dials, simple text boxes to change numeric values, > > etc. > > Have you considered using html5? > > http://diveintohtml5.org/forms.html#type-number > http://diveintohtml5.org/forms.html#type-range > > :lachie > > > This only needs to work on new browsers (no IE) - I'm wondering if anyone > > has any suggestions for where to get/build these widgets. > > Most of the libraries out there seem like overkill; they all feel the > need > > to support old browsers, and they tend to assume you want to post the > > results as a form back to a server. > > I just want to call a javascript callback... > > I could build my own in Raphael, but that also seems like work; I'll do > that > > if I have to, but I'm hoping someone has already done this for me! > > Suggestions? > > - Korny > > > > -- > > Kornelis Sietsma korny at my surname dot com > > kornys on twitter/fb/gtalk/gwave www.sietsma.com/korny > > "Every jumbled pile of person has a thinking part > > that wonders what the part that isn't thinking > > isn't thinking of" > > > > -- > > You received this message because you are subscribed to the Google Groups > > "Ruby or Rails Oceania" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<rails-oceania%[email protected]> > . > > For more options, visit this group at > > http://groups.google.com/group/rails-oceania?hl=en. > > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby or Rails Oceania" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<rails-oceania%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rails-oceania?hl=en. > > -- Kornelis Sietsma korny at my surname dot com kornys on twitter/fb/gtalk/gwave www.sietsma.com/korny "Every jumbled pile of person has a thinking part that wonders what the part that isn't thinking isn't thinking of" -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
