View Single Post
  #9  
Old 20th February 2013, 16:31
Chez's Avatar
Chez Chez is offline
Senior Member
 
Join Date: Sep 2011
P2P
Posts: 278
Default
Or you can try this:

PHP Code:
<script language="javascript">
<!--

var 
state 'none';

function 
showhide(layer_ref) {

if (
state == 'block') {
state 'none';
}
else {
state 'block';
}
if (
document.all) { //IS IE 4 or 5 (or 6 beta)
eval( "document.all." layer_ref ".style.display = state");
}
if (
document.layers) { //IS NETSCAPE 4 or below
document.layers[layer_ref].display state;
}
if (
document.getElementById &&!document.all) {
hza document.getElementById(layer_ref);
hza.style.display state;
}
}
//-->
</script> 
<b></b> <a href="javascript:;" onclick="showhide('div1');"><b>Click Heres&nbsp;[Show/Hide]</b></a>
<div id="div1" style="display: none;"> 

and after this ... add your content
__________________
http://www.bvlist.com/images/avatars/signaturepics/sigpic16443_2.gif

Last edited by Chez; 20th February 2013 at 18:54.
Reply With Quote