Klaus,
your statements are correct, I can confirm that...that change is
wrong.

I don't understand why for each new version of jQuery the non-strict
"==" check in the ready method is changed into the strict "===" (non
working).

There was a comment on those lines I seem to remember, stating not to
change it and explaining the strangeness in IE. In my IEContentLoaded
snippet that's correctly checked, and only IE goes true that code.

I actually rewrote that trick a bit better, avoiding the need to use
"window.top" since there could also be an "Acces denied" in case of
frames from different domains.

On top of that I also added support for detecting the correct moment
on IFRAMES, for all versions of IE.

John already know and have the new code, hope he can switch to that
one soon.

--
Diego



On 6 Ott, 12:50, Klaus Hartl <klaus.ha...@googlemail.com> wrote:
> Hi all, in IE8
>
> window === window.top
>
> is false, whereas
>
> window == window.top
>
> evaluates to true. Because of this the ready event will always rely on
> document's onreadystatechange event instead of using Diego Perini's
> doScroll trick, see line 833 in event.js. I assume his trick is better
> in terms if "earliness".
>
> Can somebody please confirm this? Or is it that we want to rely on the
> event in IE8?
>
> --Klaus
--~--~---------~--~----~------------~-------~--~----~
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