pinkotoad
08-28-2002, 07:48 AM
I have to share this with you guys. I have a script:
function hideshow(which){
if (!document.getElementById)
return
if (which.style.display=="none")
which.style.display=""
else
which.style.display="none"
}
It worked fine except in Netscape 6. I did a little testing, basically rewrote the entire page by hand that uses the script and found out the line that was causing the problem was:
<link rel="StyleSheet" href="css/woot.css" type="text/css" />
I changed it to:
<link rel="StyleSheet" type="text/css" href="css/woot.css" />
Now it works fine...
Thought this little tidbit could help people who have had similar problems.
function hideshow(which){
if (!document.getElementById)
return
if (which.style.display=="none")
which.style.display=""
else
which.style.display="none"
}
It worked fine except in Netscape 6. I did a little testing, basically rewrote the entire page by hand that uses the script and found out the line that was causing the problem was:
<link rel="StyleSheet" href="css/woot.css" type="text/css" />
I changed it to:
<link rel="StyleSheet" type="text/css" href="css/woot.css" />
Now it works fine...
Thought this little tidbit could help people who have had similar problems.