PDA

View Full Version : Sample Desktop: No DnD with absolute positioned Divs



defcon1
20 Feb 2009, 2:30 PM
Hi,

I am just playing with the great Sample Desktop and positioned a Div-Element absolute.
I also defined a DragSource to move the Div on the desktop but it doesn´t work. As soon
as I remove the absolute position in the CSS, it works.

Someone´s got a idea to solve this?

Thanks and regards,
D1

defcon1
20 Feb 2009, 10:30 PM
I´ve found the solution. I just added the property "z-index: -1" to the "x-desktop"-css and set "z-index: 1" to my DragSource.