Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

explore other (non-doc.write) dom ready solutions #3

Closed
paulirish opened this issue Jan 31, 2011 · 5 comments
Closed

explore other (non-doc.write) dom ready solutions #3

paulirish opened this issue Jan 31, 2011 · 5 comments

Comments

@paulirish
Copy link

this old dean edwards snippet was used in jquery but was removed due to edge case incompatibilities.

the doScroll basic check from diego perini (called IEContentLoaded) is much safer.

@keithclark
Copy link
Owner

I agree, document.write isn't the best way to watch for DOM ready events.

Originally, I used Diego's doScroll() trick but it failed if selectivizr was used in any content loaded into an iframe, so I had to revert back to Dean Edwards technique as it was causing issues for some users.

I'm open to suggestions.

@paulirish
Copy link
Author

Ah interesting. I'll tweak the issue title.

@ZeeAgency
Copy link

#6

@keithclark
Copy link
Owner

Diego has been in touch.

I have a new version of his DOMContentLoaded script to test :)

@keithclark
Copy link
Owner

Closing this issue as it's become a dupe of issue #4

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants