Hi

On 1 avr, 22:45, "Gareth Evans" <[EMAIL PROTECTED]> wrote:
> Emailed as requested

I didn't get any email ... right adress?

I thought it could be nice to extend Draggable with the resize ability
by extending the Draggable class (without changing the
dragdrop.js),like :

Object.extend(Draggable.protoype , {
      makeResizable :function(){
      },
      unmakeResizable : function(){
      }
     //and more needed methods
});

var a = new Draggable('my_div');
a.makeResizable();

Adding natively the resizable option to Draggable could be a goal
after having optimyzed and tested and tested again , like new
Draggable('my_div',{resizable:true});

What are you all thinking about all that, better make a new Resizable
class ? Or add the resizable ability to Draggable (whithout changing
the native dragdrop.js for the moment) ?
Or creating, as Colin suggested, a light weight window class with
methods and options like PWC, as an alternative to it? (really nice
class but a little bit heaaaaaavy for simpler purposes)
Every thought and idea about all that could be usefull, so come on !

Thanks for all,fred.


--~--~---------~--~----~------------~-------~--~----~
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