Code concept:
<a href="javascript:;" onclick="javascript:ShowHide('HiddenDiv')">Text</a>
Code concept:<script language="JavaScript">
function ShowHide(divId)
{
if(document.getElementById(divId).style.display == 'none')
{
document.getElementById(divId).style.display='block';
}
else
{
document.getElementById(divId).style.display = 'none';
}
}
</script>
<div style="clear: both;">
</div>
</div>
Information:
Text is the word with link showhide.
Example:
Text TARGET: Click This
Insert code:
function ShowHide(divId)
{
if(document.getElementById(divId).style.display == 'none')
{
document.getElementById(divId).style.display='block';
}
else
{
document.getElementById(divId).style.display = 'none';
}
}
</script>
<div style="clear: both;">
</div>
</div>
Text is the word with link showhide.
Example:
Text TARGET: Click This
Insert code:
Click This
Result:
Click This
Text is the word with link showhide.
Example:
Text TARGET: Click This
Insert code:
<a href="javascript:;" onclick="javascript:ShowHide('HiddenDiv')">Click This</a>
<script language="JavaScript">function ShowHide(divId)
{
if(document.getElementById(divId).style.display == 'none')
{
document.getElementById(divId).style.display='block';
}
else
{
document.getElementById(divId).style.display = 'none';
}
}
</script>
<div style="clear: both;">
</div>
</div>
Code concept:
<a href="javascript:;" onclick="javascript:ShowHide('HiddenDiv')">Text</a>
Information:Text is the word with link showhide.
Example:
Text TARGET: Click This
Insert code:
<a href="javascript:;" onclick="javascript:ShowHide('HiddenDiv')">Click This</a>
Result:Click This
Click This
<a href="javascript:;" onclick="javascript:ShowHide('HiddenDiv')">Text</a>
Information:Text is the word with link showhide.
Example:
Text TARGET: Click This
Insert code: