[jQuery] Re: Find Y position of an element on the page

2007-04-17 Thread Brandon Aaron
On 4/16/07, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote: I was just saying it would have been nice if there was a built-in function for calculating relative parent offsets. :) Actually I've been thinking about adding a positioned offset method. I just haven't found enough reasons or requests

[jQuery] Re: Find Y position of an element on the page

2007-04-16 Thread Dan G. Switzer, II
Brandon, >Yeah I think I understand what you are saying but this has absolutely >nothing to do with the offset method or the dimensions plugin and >everything to do with positioning and css. You could however clone the >element, append to the body, set position absolute and top and left >values

[jQuery] Re: Find Y position of an element on the page

2007-04-16 Thread Brandon Aaron
Yeah I think I understand what you are saying but this has absolutely nothing to do with the offset method or the dimensions plugin and everything to do with positioning and css. You could however clone the element, append to the body, set position absolute and top and left values to the element

[jQuery] Re: Find Y position of an element on the page

2007-04-16 Thread Dan G. Switzer, II
Brandon, >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

[jQuery] Re: Find Y position of an element on the page

2007-04-16 Thread Brandon Aaron
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

[jQuery] Re: Find Y position of an element on the page

2007-04-16 Thread Brandon Aaron
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 miss

[jQuery] Re: Find Y position of an element on the page

2007-04-16 Thread Dan G. Switzer, II
>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 "

[jQuery] Re: Find Y position of an element on the page

2007-04-16 Thread Alexandre Plennevaux
Ok, thanks ! -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brandon Aaron Sent: lundi 16 avril 2007 13:25 To: jquery-en@googlegroups.com Subject: [jQuery] Re: Find Y position of an element on the page The dimensions plugin has a very robust

[jQuery] Re: Find Y position of an element on the page

2007-04-16 Thread Brandon Aaron
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 -- Brandon Aaron On 4/16/07, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote: Hello! Do you know if it