I have an HTML code and I need to make a transition (fade) when I enter another page through the HTML menu that I have. Problem is, I can not make that transition. I need to do something like this link site that if you notice the left menu, when you click on another link it makes a transition on the div's on the right side. The code I have is
index.php
<div class="navbar-inverse white" role="navigation">
<div id="logo">
<img src="images/logo.png" width="100" height="40">
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-sm-3 col-md-2 sidebar navbar-collapse collapse margins" style="overflow-x:hidden;overflow-y:hidden;">
<ul class="nav nav-sidebar">
<li class="active"><a href="#">Overview</a></li>
<li><a href="index.html">Reports</a></li>
<li><a href="#">Analytics</a></li>
<li><a href="#">Export</a></li>
</ul>
</div>
<div class="col-sm-9 col-md-10 main" id="conteudo">
<h1 class="page-header">Dashboard</h1>
<h2 class="sub-header">Section title</h2>
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th>#</th>
<th>Header</th>
<th>Header</th>
<th>Header</th>
<th>Header</th>
</tr>
</thead>
<tbody>
<tr>
<td>1,001</td>
<td>Lorem</td>
<td>ipsum</td>
<td>dolor</td>
<td>sit</td>
</tr>
<tr>
<td>1,002</td>
<td>amet</td>
<td>consectetur</td>
<td>adipiscing</td>
<td>elit</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script><scriptsrc="js/bootstrap.min.js"></script>
<script type="text/javascript">
$(document).ready( function () {
$("a").click(function (){
$("#conteudo").fadeOut("slow").load(this.href).fadeIn('slow');
return false;
}
);
});
</script>