Skip to content

Instantly share code, notes, and snippets.

@danvine
Created February 28, 2013 17:40
Show Gist options
  • Select an option

  • Save danvine/5058584 to your computer and use it in GitHub Desktop.

Select an option

Save danvine/5058584 to your computer and use it in GitHub Desktop.
$.holdReady(true);
var imgNum = 0;
$('img.loadImg').load(function(){
if($(this).height()>1){
imgNum+=1;
if(imgNum==6){
$.holdReady(false);
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment