I have an element which I've setup to not display when the page loads using
Expand|Select|Wrap|Line Numbers
- display:none;
Here is my javascript:
Expand|Select|Wrap|Line Numbers
- function hideshow(which){
- if (!document.getElementById)
- return;
- if (which.style.display==""){
- which.style.display="none";
- return;
- }
- if (which.style.display=="block")
- which.style.display="none";
- else
- which.style.display="block";
- }