Hi Frederik,
your class fits perfetly for me. But I needed some more options so I
added these:
- added option: 'constraint'; values: false (default), 'horizontal',
'vertical'
- added option: 'change'; values: false (default), function
- added option: 'snap'; values: false, or [x,y] or function(x,y)
{ return [x,y] }
- added the keeping of the default cursor style after resizing
- added detection of resize cursor: (s-e/s/e -resize); depends also on
the option 'constraint'
You can find it here: http://www.tsc-web.net/dev/javascript/resizeable.html
It would be great if you are willing to put my changes into your
class.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---