there is actually a slightly newer version than the one you linked to,
but it's now showing up as a main release.  I don't know exactly how
to change that...

http://plugins.jquery.com/files/offset.js.txt




On Mar 21, 9:52 am, Brandon Aaron <brandon.aa...@gmail.com> wrote:
> Yeah, the core version would be much more simple than that ... I envision it
> being very similar to Dan's plugin.
> --
> Brandon Aaron
>
> 2009/3/21 Scott González <scott.gonza...@gmail.com>
>
>
>
> > We're building this into jQuery UI, most likely for 1.8 (
> >http://wiki.jqueryui.com/PositionTo).  We should figure out what
> > parts can/should go into core and what should go into jQuery UI.
>
> > On Mar 20, 8:35 pm, Brandon Aaron <brandon.aa...@gmail.com> wrote:
> > > Cool. I'll take a look at this soon. We might also want to make
> > .position()
> > > a setter at the same time. I've gone ahead and added it to the list of
> > > potential features for 1.4.
> >http://docs.jquery.com/JQuery_1.4_Roadmap#Offset
> > > --
> > > Brandon Aaron
>
> > > On Fri, Mar 20, 2009 at 6:49 PM, DanB <givedanmo...@gmail.com> wrote:
>
> > > > Currently you can't set the offset of jquery by passing in an object
> > > > with left and top values.  Some people set left and top with $(el).css
> > > > ({left:px, top:px}, but that will not work if el is inside an element
> > > > with position relative, because the left and top will be relative to
> > > > that parent instead of the window.  I created a plugin that keeps the
> > > > getting of the offset intact, but also adds the ability to set the
> > > > offset relative to the window - regardless of the positioning of
> > > > parents.  I think this should be added to the next release.
>
> > > >http://plugins.jquery.com/project/setOffset
--~--~---------~--~----~------------~-------~--~----~
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