title: Jquery determine if load has taken longer to load than a set time
body: <p>I am AJAXing in content from external pages. Most of the time the load takes less than a second, but is there a way I can fade in a div (lets say a preload div) which comes up if say the load takes longer than 3 seconds? So something like this...</p>
  
  <pre><code>$targetPoint.load($dataImportURL + " " +$rawCollectionPoint,function(){
      if (($(this).load &gt;= 3))
      {
          alert ("Its taken more than 3 seconds to load");
      }                       
  });
  </code></pre>