So, first elements of a visual interface ar draggable/resizable interface elements.
I decided to extend Prototype Element’s properties so that it can become really easy to add resize handlers to a given element. The code is fully working, thoug some extra features still need some tweaking. you can have 1 to 8 handlers, a callback fired up upon the end of the resizing process, and a snap function [here i just copy/pasted scriptaculous code...].
what’s is still missing is:
- a better templating system for the handlers
- better handling for elements; you can resize a TD element, but the table remains somewhat corrupted [I know were to fix it, but i just have soo many things to do]
- complete the ‘mode’ selector, just like you jave in Osx, XP, Kde, you can choose wether resize the original element or a copy [or a wireframed div]
code is here, shall anyone like to jelp me finishing it, you’re welcome
Well, after all I think it’s really time to start writing some real stuff for my [our?!] visual IDE for webapps, so stay tuned and expect news in short time
Update: a really better method to’ resize element is by using jqueryui classes, so update tour bookmarks.
Tags: Add new tag, Element, handlers, resize

Leave a Reply