I am storing the position of a dragable element relative to another element using getCoordinates(element) and i want to be able to reposition it to the same spot. Obviously "left" will be different based on the screen res of the user so i want to reposition it relative to a particular element
-----Original Message----- From: Sanford Whiteman [mailto:[email protected]] Sent: Wednesday, 3 August 2011 2:48 PM To: Steve Onnis Subject: Re: [Moo] setStyles relative to an object > Does anyone know how i would go about using setStyles to position an element > relative to another element? Do you mean _not_ using standard CSS positioning, but by grabbing the top-left of el 1 and then setting the top-left of el 2? See Element.Position. -- Sandy
