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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to