[mochikit] Drag & Drop Issues - On Drop item flies in from off screen.

2008-11-27 Thread mirage
I have an issue with my drag and drop script and I can't seem to figure out what's going on. The code below is complete enough to show the problem. The issue is that when I drop an item onto a dropable element, the item comes flying from off the page to eventually land on the dropable element.

[mochikit] Re: Bug in MochiKit.DOM ???

2006-08-29 Thread mirage
Gaaahh!!! I just figured it out. One must use the camel case notation for the CSS attribute lists. It would perhaps help to mention that in the doco. :p --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "MochiKit" gr

[mochikit] Bug in MochiKit.DOM ???

2006-08-29 Thread mirage
When I create a DOM node like below, only the 'background-color' attribute is not assigned. Everything else seems to work as expected. Anyone else seen this? this.fade_box=MochiKit.DOM.DIV( {'style': { 'position':'absolute', 'background-co