:: Forum >>

Is there a way to get position of AW object?

It would be helpful when implementing some Drag&Drop function to custom controls.

but if the value is set by setPosition, it does not seem to be anywhere to be seen. the obj.style.left property is null and getStyle just does not work by design...

:(
ASJ
Saturday, October 14, 2006
You can get the position using the prototype javascript library.
See the function realOffset under Position at http://blogs.ebusiness-apps.com/jordan/pages/Prototype%20Library%20Info.htm
If you don't want to use the entire library just for this, go through its source code and see how they implement it.
Ankur Motreja
Sunday, October 15, 2006

This topic is archived.


Back to support forum

Forum search