|
Dave, I've read the code for this class extensively. In fact, I am in
the process of rewriting it to improve speed, memory cleanup, standards
compliance, event hooks, compactness, Prototypishness, etc.. It is a
pretty hefty library, especially once you add the CSS, but it does look
very nice indeed. Looking at Sebastian's example I assumed he was
looking for a lightweight solution. PWC uses a table layout for each
window, which didn't play nicely when I tried to put a calendar inside
it... I have to say it's not my favorite Prototype-based code.. I
trolled the message board for a while and there seems to be a lot of
people using it...and a lot of people having problems with it... Looking at Prototype's Position methods I think my proposed solution of using edge-detection on a single div is feasible. It would be much nicer than the table-layout IMO. Of course there is always some crazy browser specific bug that'll make things more difficult than they should be.. Take for instance IE6/7s refusal to maintain the margins set on a position: relative div when said neighboring parent elements (table rows) would resize due to Ajax content insertion.. Man that was frustrating.. Colin Dave Crane wrote: Sebastian, Colin, There's a floating window class built on top of Prototype herehttp://prototype-window.xilinus.com/samples.html That can be resized by drag and drop. I've only looked at this as a gormless end user and thought "wow, that's really neat", so I can't comment on how they've done it, but you might like to point Firebug at it and get a few tips. HTH Dave On Wednesday 14 February 2007 19:05, Colin Mollenhour wrote: --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~--- |
- [Rails-spinoffs] Re: Resize Draggable div Colin Mollenhour
- [Rails-spinoffs] Re: Resize Draggable div Dave Crane
- [Rails-spinoffs] Re: Resize Draggable div Colin Mollenhour
- [Rails-spinoffs] Re: Resize Draggable d... Thomas Fuchs
- [Rails-spinoffs] Re: Resize Draggable d... Christophe Porteneuve
- [Rails-spinoffs] Re: Resize Draggab... Thomas Fuchs
- [Rails-spinoffs] Re: Resize Dr... Colin Mollenhour
- [Rails-spinoffs] Re: Resiz... Michael Peters
- [Rails-spinoffs] Re: R... Colin Mollenhour
