Hello There, Guest! RegisterLogin with Facebook
Login with Facebook

>>> Anna University Sixth Semester Question Bank Collection (R2013) ECE,MECH,CSE,IT,EEE,CIVIL,EIE
>>> Anna University Study Materials for all Departments
>>> Anna University Question Papers : April May June 2015 Question Papers | Nov Dec 2014 and Jan 2015 Question Papers

Register or Login to Submit Study Materials , Shoutbox and also to access Many Features !!

Vidyarthiplus Shop :: Handwritten Premium Lecture Notes
Share your Study Materials with us
Share your Study Materials with us : Click Here

Java: Click to show Text !!

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 :

<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';

<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.

New Share your Study Materials with us : Click Here


is it on click img trick

[Image: An9XX.gif]


Nope.. It will show Text, on clicking...

New Share your Study Materials with us : Click Here



Recommend on Google

Vidyarthiplus Whatsapp