This is the first time I am using jQuery. I am loading a large background image and when it is loaded I am fading it in over three seconds. This script works on Firefox and
for this you dont need to write that many lines of code this simple code will work for u...
$(document).load(function () { $('div.bgImage').css('background-image', 'url(./css/background.jpg)'); $(document).ready(function () { $('div.bgImage').fadeIn(3000); }); });