onEnd: function(element,event) {
var elementLeft=$(element).getStyle('left');
var elementTop=$(element).geStyle('top');
}
HTH
Alex Mcauley
http://www.thevacancymarket.com
----- Original Message -----
From: Mattia Locatelli
To: [email protected]
Sent: Monday, October 19, 2009 2:30 PM
Subject: [Proto-Scripty] Drag Drop
Hello all,
how can i get the current position of the currently dragged element in the
onDrop event? I always have the starting position.
Thanks in advance,
Mattia
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---