3
It can be done in several ways.
One is like the options show/hide is done for notifications.
Other one is with JQuery:
<html>
<head>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#textDiv").hide();
$("#clickText").click(function() {
$("#textDiv").toggle();
return false;
});
});
</script>
</head>
<body>
<a id="clickText">See text</a>
<br />
<div id="textDiv">This text will be shown or hidden</div>
</body>
</html>