title: IE error window.onload does not fire consistently
body: <p>I am trying to implement the jQuery orbit slider. I have a div tag that contains several images. The problem I am encountering is the orbit() function is on occasion being called before all the images have loaded. I have tried to solve this by surrounding the orbit function call as follows:</p>
  
  <pre><code>window.onload = function(){jQuery('#img-container').orbit()} 
  </code></pre>
  
  <p>This should ensure that orbit is only called after the page and all the content (including the necessary images) have loaded. However, the onload event is not consistently firing because the image slider does not always load. I notice that if I clear the cache and navigate to the page, then the onload event does not fire, and thus orbit never fires. </p>
  
  <p>Other things I have tried:
  I have also tried jQuery(window).load() which was unsuccessful. I also tried iterating over each individual image in the container with the .load() function but was not successful. I have been able to resolve this issue on Chrome and FF using something similar to this approach: <a href="https://stackoverflow.com/questions/19098514/jquery-one-load-and-error-events-not-working">jquery .one() load and error events not working</a></p>
  
  <p>Does anyone have any other suggestions to fix this in IE?</p>
  
  <p>ADDITIONAL INFO: I did a test where I use deelay.me to delay the image by a few seconds and doing so made the onload function work consistently. It's only when the image loads quickly that the onload doesn't seem to fire</p>