title: Strange jQuery $(window).load() behavior in Safari
body: <p>I have a page being loaded in an <code>&lt;iframe&gt;</code>.</p>
  
  <p>Inside the <code>&lt;iframe&gt;</code>, I have a function that patiently waits for the page to load using jQuery's <code>$(window).load()</code> event which is supposed to wait until <strong>ALL</strong> page content (images, javascript, css, etc.) is loaded before firing.</p>
  
  <p>The function then calls back to the page loading the <code>&lt;iframe&gt;</code> using <code>postMessage</code> to send the height of the content in the <code>&lt;iframe&gt;</code> back.</p>
  
  <p>I have tested the functionality in IE7, IE8, Firefox 2, Firefox 3, Opera, and Chrome and everything works fine. When I try to load the page in Safari, the function makes its call back before images are loaded...thus giving me the wrong page height.</p>
  
  <p>Does anybody out there know how to force Safari to wait for images to be loaded before calling a function (jQuery solutions are preferable in this case)?</p>