This is a simple Java Script, tat Displays the Text on click on the Link, can be used along with Html, n php, etc...
Here is the Java code :
Note :
Edit 'The text you want to insert' with the text you u want to display on click on the link.
Here is the Java code :
Code:
<script type="text/javascript">
function Menu()
{
var div = document.getElementById('Result');
div.style.display = (div.style.display == 'none') ? '' : 'none';
div.innerHTML = 'The text you want to insert';
}
</script>
<a onclick="Menu(); return false;">Click</a>
<div id="Result" style="display:none"></div>
Note :
Edit 'The text you want to insert' with the text you u want to display on click on the link.