Now with this plugin you shall be able to transform your textarea, iframe or any other element into a resizable element with one line of code like this:
window.addEvent('load', function() { $$('textarea').resizable(); });
Take a look at the demo in the demo folder.
This works pretty good with DynamicMather from PowerTools!
var Matcher = new DynamicMatcher; Matcher.register('textarea:not(.mceEditor):not(.noResizable)', function(elements){ for (var element, i = elements.length - 1; element = elements[i--];){ if (!element.retrieve('resizable')) element.resizable(); } }).update();
Now you can call Matcher.update() elsewhere if you added new elements to your page.
This is roughly based on the work of Joshua Partogi (http://scrum8.com/) (c) 2009.
A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.
Found a bug in this plugin? Please report it this repository's Github Issues.
blog comments powered by Disqus