I have the following JS in my site:

$(document).ready(function() {
    var hash = window.location.hash.substr(1);
    var href = $('#nav li a').each(function(){
        var href = $(this).attr('href');
            var toLoad = hash+'.html #content';

    $('#nav li a').click(function(){
        var toLoad = $(this).attr('href')+' #content';
        $('#wrapper').append('<span id="load">LOADING...</span>');
        window.location.hash = $(this).attr('href').substr(0,$(this).attr('href').length-5);
        function loadContent() {
        function showNewContent() {
        function hideLoader() {
        return false;


I have the following html on my site:

<div id="content001">
<div id="wrapper">
    <ul id="nav">
        <li><a href="index.html">welcome</a></li>
        <li><a href="about.html">about</a></li>
        <li><a href="portfolio.html">portfolio</a></li>
        <li><a href="contact.html">contact</a></li>
        <li><a href="terms.html">terms</a></li>
    <div id="content">        
        <p>Nulla facilisi. Nam massa dolor, gravida nec, luctus vitae, tristique vel, arcu. Suspendisse rutrum. Integer ligula velit, malesuada sed, rhoncus sed, feugiat eget, mi. Nulla pharetra convallis mi. Cras euismod consectetuer mi. Integer molestie tincidunt ante. Vestibulum lacinia orci a est. Quisque aliquam dolor non urna. Praesent felis. Nulla elementum. Curabitur mi augue, mollis at, volutpat ut, fermentum in, neque. Donec eget arcu. Donec id velit nec arcu facilisis aliquet. Nulla vel nibh ac lacus tristique interdum. Cras sed dui in nibh hendrerit dignissim. Aenean at est ac purus consectetuer mollis.</p>
    <div id="foot">Social Links Here Maybe .. Or Whatever</div>

This sets up a nice little slider menu but what I need is a href link to make the tabs slide just like the links you see above for about.html .. etc...

I think it should be something along the lines of :

<a href="javascript:loadContent('#nav','about.html')">about tab</a>
But nope .. Please Help if you know ....