Saturday, May 5, 2012

interesting way to see if images have been loaded

Per this, get the heights and widths of images with jQuery like so:

var x = $("#photoA").height();
var y = $("#photoB").width();

 
 

...then check to see if a value is over, um, say 40 pixels or so...

No comments:

Post a Comment