Single Image Jquery Preloader
问题 I am using a fairly large background image on a website I am developing. Currently, the background color loads, and when the image is done loading, it then loads. That is perfectly fine; however, I am trying to achieve an effect where a preloader gif spins until the background image loads, and then fades in. Currently here is my Jquery (which isnt working at all) $(document).ready(function(){ $('span.loader').show(); $("body").css('background-image','url(images/bg.jpg)').ready(function(){ $(