Not sure what you mean by it. The link ( http://www.blocparty.com/news.php ) you provided doesn't have the script.
But maybe you mean something like this:
The js:
Code:
function change(text){
document.getElementById("some_id").innerHTML = text;
}
The html:
Code:
<a href="javascript:void(0)" onclick="change('this is a test')">Test #1</a>
<a href="javascript:void(0)" onclick="change('this is a test0')">Test #2</a>
<a href="javascript:void(0)" onclick="change('this is a test1')">Test #3</a>
<div id="some_id"></div>
Bookmarks