I mixed different Js together in order to have visual effects on my page.
They perfectly work separately.
The problem appears in netscape on a rollover effect when i mix them.
The communicator console shows me this message:
"document[name] has no properties"
The script i use for the rollover is quite simple, it goes like this:
<SCRIPT LANGUAGE="javascript">
var NN3 = false;
image1= new Image();
image1.src = "popup/uneed.gif";
image1on = new Image();
image1on.src = "popup/uneed.gif";
image1alt = new Image();
image1alt.src = "popup/bm1.gif";
image1alton = new Image();
image1alton.src = "popup/bm1_what_roll.gif";
function on3(name) {
document[name].src = eval(name + "on.src"
document["hbl"].src = eval(name + "alton.src"
}
function off3(name) {
document[name].src = eval(name + ".src"
document["hbl"].src = eval(name + "alt.src"
}
NN3 = true;
function on(name) {
if (NN3) on3(name);
}
function off(name) {
if (NN3) off3(name);
}
</SCRIPT>
Then are coming my comands in cells of a table
<A HREF="#"><IMG SRC="popup/bm1.gif" NAME="hbl" BORDER="0" WIDTH="221" HEIGHT="34"></A>
<A HREF="#" ONMOUSEOVER="on('image1');" ONMOUSEOUT="off('image1')">
<IMG SRC="popup/uneed.gif" ONLOAD="" BORDER="0" NAME="image1" WIDTH="35" HEIGHT="34"></A>
I don't know why netscape is not accepting it.
If somedy knows, would be great.