What would be the Drupal way to have a preloader overlay divs untill they were finished loading? I am trying to get a theme to have a pre-loader image run over each section of the theme until the corresponding div section is finished loading.  

I am trying to refrain from a $(window).load(function()); if i can.

What would be the best approach?  Thanks in advance.
Maybe it can help: queryloader2