syncReady.html 735 B

1234567891011121314151617181920212223
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4. <meta http-equiv="content-type" content="text/html; charset=utf-8">
  5. <title>Test case for jQuery ticket #10067</title>
  6. <script src="../../jquery.js"></script>
  7. </head>
  8. <body>
  9. <script type="text/javascript">
  10. jQuery( document ).ready(function () {
  11. window.parent.iframeCallback( jQuery('#container').length === 1 );
  12. });
  13. </script>
  14. <!-- external resources that come before elements trick
  15. oldIE into thinking the dom is ready, but it's not...
  16. leaving this check here for future trailblazers to attempt
  17. fixing this...-->
  18. <script type="text/javascript" src="longLoadScript.php?sleep=1"></script>
  19. <div id="container" style="height: 300px"></div>
  20. </body>
  21. </html>