show animation and hide other when page is loading
<p>I don't want to show my page until its loads.
and also want to show an animation </p>

<p>I am using this code</p>

<pre><code>jQuery(window).load(function (){
jQuery('#loading').show();
jQuery('#main-container').hide();

}); 
</code></pre>

<p>but its like something is incorrect.</p>
