title: Run BlockUI on page load?
body: <p>How can I run the BlockUI plugin (<a href="http://www.malsup.com/jquery/block/#demos" rel="nofollow">http://www.malsup.com/jquery/block/#demos</a>) when the page loads? I modified it so that when you <b>click</b> the <code>body</code> tag it runs the plugin, but I want that to happen when the page loads...</p>
  
  <pre><code>&lt;script type="text/javascript" language="javascript"&gt;
  $(document).ready(function() { 
      $('body').click(function() {
          $.blockUI({ css: { 
              border: 'none', 
              padding: '15px', 
              backgroundColor: '#000', 
              '-webkit-border-radius': '10px', 
              '-moz-border-radius': '10px', 
              opacity: .5, 
              color: '#fff' 
          } }); 
  
          setTimeout($.unblockUI, 2000); 
      }); 
  }); 
  &lt;/script&gt;
  </code></pre>