I hope this bit of HTML and JavaScript is what you need, or at least it can help you. If you need something else, post again!
<head>
<style type="text/css">
p{display: none}
</style>
<script type="text/javascript">
function showthe(y){
y=document.getElementById(y);
if(window.x === undefined){}
else{x.style.display='none';}
y.style.display = 'block';
x = y;
}
</script>
</head>
<body onload="showthe('title');">
<a href="#" onclick="showthe('title');">Title</a>
<a href="#" onclick="showthe('subtitle');">Show subtitle</a>
<a href="#" onclick="showthe('txt1');">First part</a>
<a href="#" onclick="showthe('txt2');">Second part</a>
<p id="title">this goes 1</p>
<p id="subtitle">then</p>
<p id="txt1">text</p>
<p id="txt2">more text</p>