Posts Tagged ‘JavaScript’

The UI on a project of mine had to be resiz­able. The UI included a script.aculo.us slider which unfor­tu­nately did not have a resize method nor was it smart enough to update itself should the under­ly­ing ele­ment be resized. So I cre­ated the fol­low­ing extension:

(more…)

I’ve sub­mit­ted a patch to the Rails devel­op­ers that adds a Touch­pad con­trol to script.aculo.us. It is a 2D con­trol based heav­ily off of Slider and so shares some of the same options and behav­ior. The Touch­pad call­backs out­put an array [x, y] rather than a sin­gle value v which is what Slider does. Touch­pad also has no han­dles so the last value is not preserved.

(more…)