I took it out for performance and I'm still investigating better
(faster) ways to get the relative offset. In the mean time the safest
way to handle this is to get the parent offset first and then subtract
it from the element's offset. I know it is more code. I believe you
are one of the only ones that I've heard using that feature.

BTW ... I don't have a time for getting that feature back in.

--
Brandon Aaron

On 2/7/07, Jonathan Sharp <[EMAIL PROTECTED]> wrote:
> Here's an example line:
>
> $(li).offset( $(li).parents('ul.myclass')[0] );
>
> I can fix this easy enough in the code by getting the parent's offset first
> and then subtracting the elements offset from that, but it would be nice to
> have this still supported. =)
>
> Cheers,
> -js
>
>
>
> On 2/7/07, Jonathan Sharp <[EMAIL PROTECTED]> wrote:
> >
> > I belive it's an issue relating to the signature change. I was using the
> .offset(ELEMENT) to get the offset in relation to a parent element.
> >
> > Could this feature be added back in (possibly passing in an element
> reference in the object hash)?
> >
> > -js
> >
> >
> >
> > On 2/7/07, Brandon Aaron <[EMAIL PROTECTED] > wrote:
> > > The signature for the offset method in the dimensions plugin did
> > > recently change. Is this the issue or is it a bug in the offset
> > > method?
> > >
> > > --
> > > Brandon Aaron
> > >
> > > On 2/7/07, Jonathan Sharp <[EMAIL PROTECTED]> wrote:
> > > > Hi Scott,
> > > >
> > > > I was able to duplicate this and have isolated it to some changes that
> took
> > > > place in the dimensions plugin around the 1.1.1. I'm going to handle
> > > > positioning differently in the new version which should address these
> > > > issues.
> > > >
> > > > Cheers,
> > > > -js
> > > >
> > > >
> > > >
> > > >
> > > > On 2/7/07, Weaver, Scott < [EMAIL PROTECTED]> wrote:
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Hi Jonathan,
> > > > >
> > > > >
> > > > >
> > > > > In a nutshell, the drop down menu was positioned waaaay to the
> right.
> > > > What you can do is just rename the existing menu class from "ugsMenu"
> to
> > > > "jd_menu" and change the $(document).ready() to invoke the jdMenu
> plugin as
> > > > opposed to mine.  Hopefully, this should give you an idea of what I
> > > > encountered.  I used the base, jdMenu.css to test it.
> > > > >
> > > > >
> > > > >
> > > > > Thanks for the help,
> > > > >
> > > > > -scott
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > ________________________________
> > > >
> > > > >
> > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On
> > > > Behalf Of Jonathan Sharp
> > > > > Sent: Wednesday, February 07, 2007 1:22 PM
> > > > > To: jQuery Discussion.
> > > > > Subject: Re: [jQuery] jQuery().hover() not working as intended in
> IE?
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Hi Scott,
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > I've developed the jdMenu plugin and am working on an updated
> version of
> > > > it. What positioning problems were you running into? Do you have a
> demo page
> > > > somewhere?
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Cheers,
> > > > >
> > > > >
> > > > > -Jonathan
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On 2/7/07, Weaver, Scott < [EMAIL PROTECTED]> wrote:
> > > > >
> > > > >
> > > > >
> > > > > Hello,
> > > > >
> > > > >
> > > > >
> > > > > I am using the jQuery.hover() event binding to create drop down
> menus from
> > > > an unordered list.  I attempted to use the jdMenu plugin but the
> positioning
> > > > wasn't coming out right with the layout I am using (the piefecta from
> > > >
> http://www.positioniseverything.net/piefecta-rigid.html).
> > > > I decided it would be easier to "roll my own" than to dig through the
> jdMenu
> > > > code to figure out the issue.
> > > > >
> > > > >
> > > > >
> > > > > This was drop-dead simple to do using the .hover() event binding.
> This
> > > > works wonderfully in FF.  Unfortunately, IE 6 has decided to be a
> > > > little…well you know how she is.  Mousing over the menu heading works
> fine
> > > > and the sub-menu appears underneath (as expected).  However, as I move
> down,
> > > > over the sub-menu, the sub-menu disappears (not supposed to happen).
> > > > >
> > > > >
> > > > >
> > > > > I am attaching the source file (you may need to change the source
> path
> > > > location of jquery, I am using version 1.1.1).  Oh, ignore the content
> of
> > > > the page as it all pretty much a verbatim copy of piefecta layout ;-)
> > > > >
> > > > >
> > > > >
> > > > > Thanks in advance,
> > > > >
> > > > > -scott
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > jQuery mailing list
> > > > > [email protected]
> > > > > http://jquery.com/discuss/
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > jQuery mailing list
> > > > > [email protected]
> > > > > http://jquery.com/discuss/
> > > > >
> > > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > jQuery mailing list
> > > > [email protected]
> > > > http://jquery.com/discuss/
> > > >
> > > >
> > >
> > > _______________________________________________
> > > jQuery mailing list
> > > [email protected]
> > > http://jquery.com/discuss/
> > >
> >
> >
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to