code html pliiiz

Need the html code to hide something like this :


Need html code pliiz !
Comments
11
ask perfo
allready asked he don't know :/
Parent
style="visibility:hidden;" +js
heuh and ?
example pliz
Parent
allready asked but i don't found anything :(
démerde toi :P
HTML:
<a href="#" onclick="toggleHide('commenthide4640fa310f286'); return false;">Hide</a><div style="display:none;" id="commenthide4640fa310f286"><br />
Need html code pliiz ! <br />

JavaScript:
function toggleHide( id ){
var el = document.getElementById( id );
var curState = el.style.display;

if( curState == 'block' ){
el.style.display = 'none';
} else {
el.style.display = 'block';
}
}

For the rest, check the page source. Hope you get the idea...
Back to top