IE has another way to handle this (of course!!) it's setCapture method Look at this: http://dev.rubyonrails.org/ticket/3265
Seb On Feb 23, 11:32 pm, "Jeremy Chen" <[EMAIL PROTECTED]> wrote: > Currently, my draggable element stops moving when my mouse moves out of the > browser window. If i do an onmouseup outside the window area, and come back > in the window, the draggable element will follow my pointer until I click > again. At that time, the draggable element stays at that position and will > not revert. > I can fix this problem by adding calling endDrag() on the window object's > onmouseout. However this only works in firefox because I believe IE doesnt > allow events to be attached on the window object. > I know there is probably multiple solutions to this problem, but just > looking for an elegant cross-browser solution. > > thank you! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
