On 12/14/07, Chamnap <[EMAIL PROTECTED]> wrote: > Well, maybe you are misunderstanding my post. I mean I want to allow > the user drag an element within the content area of browser only if > the page of dimension of the browser: 1024 * 692. That's mean the user > cannot extend their dragging over that area. Should I use the change > event of draggable instance variables?
I think you need to use a snap function along with Position.overlap(). It would be pretty complicated I think because you would have to calculate the return x, y without knowing exactly where on the handle the user is dragging. - Ken --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
