JAVASCRIPT VISIBILITY collapse example

JAVASCRIPT VISIBILITY collapse example
<a style="color:black;" href="javascript:void(0);"
onclick="this.style.visibility='hidden';">
Click on me, monkey.
</a>
The display property of an object’s style (set it to “none”) is often better for this kind of thing because it removes it from rendering entirely, thus avoiding potential layout collisions and problems like the one you get above because of the <pre> tags.
[close] Permanent link · http://querylog.com/q/JAVASCRIPT+VISIBILITY+collapse+example

Suggested HTML for linking:
Link preview: JAVASCRIPT VISIBILITY collapse example
13 July 2005 · Internet & computing
The page found by the original query:
Stupid JavaScript Tricks
Browse by the page—15 Q&R each
« previous | more »