code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<style>
#spoiler
{
visibility: hidden;
}
</style>
<script language="javascript">
function spoiler(){
if(document.getElementById('spoiler').style.visibility = 'hidden'){
document.getElementById('spoiler').style.visibility = 'visible';
} else {
document.getelementbyid('spoiler').style.visibility = 'hidden';
}
}
</script>
</HEAD>
<BODY>
<a href="javascript:spoiler();">Spoilers (on/off)</a>
<div id="spoiler">
Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing
</div>
</BODY>
</HTML>
That half works, It starts out hidden, but it doesnt re-hide....