PDA

View Full Version : get/set position after drag drop



creichlin
2 Oct 2011, 10:42 PM
I have a panel with drag enabled. I'm trying to save it's position after dragging around and save that value on the server for updating other clients.

The problem is now that when I use setPosition the top and left css attributes are used. if I drag the panel around the -webkit-transform attribute is used.

Is there a way how i can get the sum of this two transformations or use left and top attributes for everything instead of -webkit-transform?