page transitions with jquery and php
<p>I'm using php to develop an application, and I'm using something like this to change the pages</p>

<pre><code>&lt;?php
            if (!isset($_GET["p"])){
                $p = 'home';
            } else{
                $p = $_GET["p"];
            }
            include "$p.php";
?&gt;
</code></pre>

<p>What I want to know is if there is a way to put some effects with JQuery when I change the page  </p>

<p>Something like a loading icon or anything that makes the browser not to display that white page when going from a page to another, can you understand what I want?  </p>

<p>At first I was using hidden <code>divs</code> and show/hide, but that usually made the JQuery effects 
within this <code>divs</code> get all messed up, so i changed to <code>php include</code>. </p>

<p>What I need is that people won't feel like leaving on page to reach another, I want them to feel like they're just changing the contents .</p>
