The way I did Tam's site, is i lined up a bunch of Divs that were set to display: none
[php]
[/php]
and then i used this very simple script:
function swapContent(arg1,arg2) {
document.getElementById(arg1).innerHTML = document.getElementById(arg2).innerHTML;
document.getElementById(arg1).style.display = '';
document.getElementById(arg2).style.display = 'none';
}
so a link would be
[HTML]
About Me[/HTML]
'maincontent' would be where you want the content to go, and 'aboutme' would be your hidden div... make sense?