[jQuery] Re: Get element position relative to the body

2009-04-28 Thread Chacha Golden
Are you looking for getting the absolute position relative to the entire document, try offset instead: http://docs.jquery.com/CSS/offset. On Mon, Apr 27, 2009 at 9:28 PM, cohq82 quang...@gmail.com wrote: I found out this http://docs.jquery.com/CSS/position But it is not relative but rather

[jQuery] Re: Get element position relative to the body

2009-04-27 Thread cohq82
I found out this http://docs.jquery.com/CSS/position But it is not relative but rather absolute position. Any help on relative position? On Mar 26, 8:44 am, Shedokan shedo...@yahoo.com wrote: Is it possible to get the position of an object relative to the dcument if it's a floating object