Nicola, just curious, in all browsers or just IE?

**--**  Steve

On Aug 31, 3:28 pm, Nikola <gavin.b.ly...@gmail.com> wrote:
> Unless you are attempting to position an element at the start of a
> link. Which is what I was doing in this case. A feature for work
> requires that we have elements reporting on 'click' activity of each
> link for a given set of HTML. We need to find the proper starting
> position().left to have our informational overlay element properly
> establish a visual relationship with the link.
>
> It just looks goofy floating out in the middle of nowhere instead of
> directly over the start of a link.
>
> On Aug 31, 5:19 am, Ricardo <ricardob...@gmail.com> wrote:
>
> > That kind of makes sense, to have screen positioning always calculated
> > from the bounding box. If the element is absolutely positioned you'd
> > get the left style property with .css('left'). Hopefully someone else
> > can confirm this is not a bug.
>
> > On Aug 28, 12:51 pm, Nikola <gavin.b.ly...@gmail.com> wrote:
>
> > > Hello,
>
> > > I believe I may have found an issue with the position() method.
>
> > > When getting an element.position().left property using jQuery, if a
> > > link is long enough that it wraps down to another line, the property
> > > will be thrown off. Instead of getting the left of where the link
> > > itself starts, it will instead get the left of the position where the
> > > bounding rectangle of the entire link would end up.
>
> > > example 
> > > here:http://gavinlynch.name/algorithms/javascript/link_position.html
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to