I have this web-app that works fine in IE, but in Netscape 6.01 my javascript-code fails. I have a number of functions in an include file, but in Netscape I only get the message "<name of function> not defined". For example, when an onmouseover event calls the "color" function, Netscape Javascript monitor reports "color not defined".
script is included like this:
<!-- #include file="_ScriptLibrary/jscript.inc"-->
and might be called like this:
onmouseover="color(this)"
This is the function itself:
function color(elmnt)
{
elmnt.style.filter=false
elmnt.style.filter="chroma(color=#ffffff)"
elmnt.style.cursor="hand"
}
Why does it fail?