Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

offsetLeft and offsetTop bug #21

Closed
jiji262 opened this issue Oct 23, 2012 · 4 comments
Closed

offsetLeft and offsetTop bug #21

jiji262 opened this issue Oct 23, 2012 · 4 comments

Comments

@jiji262
Copy link

jiji262 commented Oct 23, 2012

It will cause the position in wrong place when use a graybox plugin like artDialog.
This issue can be fixed by modifying the following codes:

        if (obj && (obj != stopObj)) {
            /*
            info.left += obj.offsetLeft;
            info.top += obj.offsetTop;
            */
            jpos = $(obj).position();
            info.left += jpos.left;
            info.top += jpos.top;
        }
@CMTegner
Copy link
Contributor

I'm pretty sure you could fast track this issue if you submitted a patch with the required changes.

@jonrohan
Copy link
Contributor

jonrohan commented Dec 9, 2012

Would like a pull request for this.

@jonrohan jonrohan closed this as completed Dec 9, 2012
@JamesMGreene
Copy link
Member

@jonrohan To clarify: did you fix this or just close it? Didn't see any obviously related commits in history.

@jonrohan
Copy link
Contributor

closed. The pasted text includes jquery code also

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants