![]() |
| Click here to stop image rotation |
Here is an image project that worked fine in IE but not Netscape. I kept getting the debug message from Netscape that said document.mainImage has no properties. What I figured out is I needed to use two different ways of telling the browsers what object I was working with, because Microsoft and Netscape cannot agree on the DOM. In IE I say document.mainImage.src = mpGif[j].src but in Netscape I needed to say (document.table1.document.mainImage.src) = mpGif2[j].src; the image is within a DIV tag with the ID of "table1". So I tested for the browser and then call the correct function from there.