I did a few searches and looked for threads about this but I didn’t find any relevant..So I apologize if I missed one….
This isn’t my script..but we use it on my clan’s website and I just noticed that this works in IE and Opera, however it will not work on Firefox.
[CODE]/*Contractable Headers script- By Website Abstraction (www.wsabstract.com) Over 200+ free JavaScripts here! */
/* added to the site: 1.6.05 */
var head = “display:show”;
function doit(header) {
var head = header.style;
if (head.display == “none”) {
head.display = “”;
} else {
head.display = “none”;
}
}
The problem is ” var head = header.style; “…Using Firebug, I get the message that the header has no properties.
I would like to fix this so that it will work with Firefox as well as IE…or at least just Firefox. If anyone could help me I’d appreciate it greatly.
I am a big noob with JS..I won’t lie. JS isn’t my thing…but if you guys can help, I thank you.