Thomas Fuchs wrote:
> Reading is overrated! ;)
>
> Am 16.02.2007 um 08:56 schrieb Christophe Porteneuve:
>
>   
>> Hey Colin,
>>
>> Colin Mollenhour a écrit :
>>     
>>> It doesn't currently resize, but the edge detection is all there and
>>>       
>> FWIW, I can't get it to work on my FF2/Linux: I do get edge detection
>> and proper mouse cursors, but when I drag borders, I don't get  
>> resizing:
>> just dragging.  However carefully I do it.
>>     
Haha! Exactly, if you miss something, someone else will point it out for 
you anyway. ;)

Is anyone interested in continued development of this?  I don't need it 
at the moment, I just made this for the heck of it to see how well it 
would work and how easy it'd be.
I think there are enough full-blown window classes out there, I might 
develop it as a "Resizable" feature that can be applied to elements in 
the same way Draggable can be.

Do you think this could potentially be useful? It might be made to work 
with textareas, imgs, etc..

So for example you could create a window class like so (skeleton):
var SimpleWindow = Class.create();
SimpleWindow.prototype = {
    initialize: function(element){
       this.element = $(element);
       this.draggable = new Draggable(this.element);
       this.resizable = new Resizable(this.element);
    }
};

Or a resizable textarea:
var myResizableTextarea = new 
Resizable(Builder.node('textarea',{name:'text'}));

Thoughts?

Thanks,
Colin


--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to