I’m trying to fade a large background image in after it’s loaded, here’s the JS:
//the image is contained in a div with the id of "stage"
$(document).ready(function() {
$('#stage img').hide();
$('#stage img').load(function() {
$(this).fadeIn(5000);
});
});
This works fine in Firefox/Chrome but not in IE8 (I haven’t tried the older versions yet).
Any idea what I’m doing wrong?
Cheers,
Jon