Forgot to mention the test/example page for the offset method found
here: http://brandon.jquery.com/plugins/dimensions/test/offset.html

It has several examples of relative position as both parents and children.

--
Brandon Aaron

On 4/16/07, Brandon Aaron <[EMAIL PROTECTED]> wrote:
Dan,

Could you send me some example code of the problem you are having? I
can't reproduce the issue you describe. Which browser is it in? The
offset method goes to great lengths to squash browser inconsistencies
with getting the offset of an element and there are lots of them. I'm
sure I've missed a few so if you find any issues, just shoot me an
email or open a ticket. I can usually get it worked out pretty
quickly.

--
Brandon Aaron

On 4/16/07, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote:
>
> >The dimensions plugin has a very robust offset method that will get
> >the position of the element. See the inline docs for examples.
> >
> >http://brandon.jquery.com/plugins/dimensions/dimensions.js
>
> One issue I recently ran into w/the dimensions plug-in is that it doesn't
> have anything to calculate "position: relative;" offsets. If a parent
> element has a position of "relative", you need to adjust for any offsetLeft
> values for that parent, because that parent is where the "0" positioning is
> calculated from.
>
> -Dan
>
>

Reply via email to