I have an implementation of Resizeable DIVs that is based on
the Draggable code from script.aculo.us. This is working for me, but is
only tested on Firefox 1.0.x and IE 6. On IE, the display isn’t
great at small sizes, and the DIV tends to jiggle. This can work with the element also being Draggable, but
there is a restriction that the Draggable handle must be set, and cannot be the
element itself. I haven’t been able to wok out how to stop both
objects getting the mouseover event, so you get resize and move at the same
time if the element is the handle. Due to these limitations, I won’t submit this for
inclusion in the script.aculo.us library. They currently don’t
affect my usage, and it is pretty cool, so I’m putting it out there for
others to use (and improve?) Description, example and source code available here: http://blog.craz8.com/articles/2005/12/01/make-your-divs-resizeable Comments welcome |
_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs