The colorpicker was updated to work with 1.6.0.2. Apparently somewhere between 1.4 and 1.6 Element.setStyle() stopped accepting css attributes (i.e. margin-left) and insisted on camelized JS styles (i.e. marginLeft).
-j On Apr 23, 12:27 pm, Jeremy Jongsma <[EMAIL PROTECTED]> wrote: > I submitted RTE, ColorPicker, and DatePicker to scripteka. Thanks for > the suggestion. > > -j > > On Apr 23, 9:38 am, kangax <[EMAIL PROTECTED]> wrote: > > > Good stuff, Jeremy. > > > RTE is something that prototype ecosystem always lacked : ) > > > Feel free to submit it tohttp://scripteka.com. > > > Best, > > kangax > > > On Apr 23, 2:45 am, Jeremy Jongsma <[EMAIL PROTECTED]> wrote: > > > > Two reasons for this post: > > > > 1) I've built a number of prototype-based input widgets over the years > > > that I use quite regularly on my web projects, but I just realized > > > I've never shared them with the community (they're GPL licensed). So > > > here you go:http://home.jongsma.org/software/js/ > > > > 2) The demos on my site are using prototype 1.4.0. I just tested and > > > all of them work fine on the latest (1.6.0.2) except the colorpicker. > > > If you download and use the colorpicker widget with prototype 1.6.0.2, > > > the color swatches in the dropdown box do not appear (the whole panel > > > is gray). But mousing over the panel still shows the colors that > > > should be there, and clicking selects a color as it should. Before I > > > waste a lot of time debugging this, does anyone know of a difference > > > between 1.4.x and 1.6.x that could cause this? I tried loading > > > prototype_update_helper.js to see if it gives me any insight but it > > > fails (console not defined in FF?) > > > > I hope you find these useful, and I'll try to fix up the colorpicker > > > for 1.6.0.2 as soon as possible. > > > > -j --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---