I have this code....
<div id="details">
<nav>
<a href="#1"><span>Summary</span></a>
<a href="#2"><span>Personal</span></a>
</nav>
</div>
<div id="1" class="navLinks"> <?php include 'includes/i_includes/summary.php';?> </div>
<div id="2" class="navLinks"> <?php include 'includes/i_includes/info.php';?> </div>
and then I also have this script
<script type="text/javascript">
$('nav a').click(function() {
$('.navLinks').hide();
$(this.getAttribute('href')).show()
});
</script>
I would like to make so on page load... the content of Summary is automatically shown..