I have a page that contains applets and some javascript. If the applet
hasn't loaded yet and I mouse over an image (that calls some rollover
code), I get the following error message in NS 3.01:
Can't reflect applet "(null)": not loaded yet.
The error is referencing the 2nd line in the following function:
function imgOn(imgName) {
if (document.all) {
document.all[imgName].src = eval(imgName + "on.src");
} else {
if ((navigator.appName.indexOf("Netscape") != -1) &&
(parseInt(navigator.appVersion) == 4)) {
document.layer1.document[imgName].src = eval(imgName +
"on.src");
} else {
if ((navigator.appName.indexOf("Netscape") != -1) &&
(parseInt(navigator.appVersion) == 3)) {
document[imgName].src = eval(imgName + "on.src");
}
}
}
}
Any ideas??
Kayla Block
============================================================
Kayla Block 650.526.6103
Engineer [EMAIL PROTECTED]
============================================================
__________________________________________________________________________
To send mail to web-consultants, use the address: [EMAIL PROTECTED]
For usage, send e-mail with "HELP" body to [EMAIL PROTECTED]
Digest subscribers, use the address:[EMAIL PROTECTED]
Visit The Web Consultants Web Site At http://just4u.com/webconsultants