
Originally Posted by
Nyne Lyvez
you would need to locate all of your "container" elements and make sure they all have either ID's or Classes in css... then in a separate stylesheet set them all to "visibility:hidden;"
Ideally, it would only be one element and you can don't need to go about changing the stylesheet. That would work, but it's a harder solution in my view. If you're hiding disjointed portions, then a stylesheet switch would be smarter.
I use jquery for this kind of thing. But, I've also used this small snippet in the past:
Code:
<script type="text/javascript">
<!--
function toggle_visibility(id) {
var e = document.getElementById(id);
if(e.style.display == 'block')
e.style.display = 'none';
else
e.style.display = 'block';
}
//-->
</script>
On a unrelated note...that website brings back a lot of memories. I did my undergraduate studies at NYU. Quite the days...
Bookmarks