Proof of concept: http://colin.mollenhour.com/xobetil.html
It doesn't currently resize, but the edge detection is all there and works quite well and was quite easy to code actually. I don't notice any lag when mousing over it either so I think it's pretty quick. I need to think of a better name for it though.. For anyone wondering what this is, it is the beginnings of a widget that gives you a resizable and draggable "window" with a *single* div element. I tested it in IE6/7, FF2 and Opera 9.10. Something isn't working right in Opera, perhaps element.clientWidth/Height? I don't have time to look into it now but I'm sure it could be fixed. Does it work in Safari? Colin Dave Crane wrote: > Your proposed solution sounds like it would be a tad fiddly to code (it > really ought to check for corners to resize height and width at once, while > we're at it), but the right way to do it in principle. > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
