Yes, sorry this is a cross browser compatibility issue. I have a loop that is writing to a DIV tag in a table. In IE, this works fine, but in Mozilla and Netscape I get "thumbscroll is undefinied" (thumbscroll being the div tag) error. The loops are being called (and passed values) by a flash file embeded in the page. I cut and pasted the essentials below. Thank you in advance for any suggestions.
Drew
"Mistakes are the portals of discovery"
James Joyce
Drew
Code:
<html>
<head>
<script language="JavaScript">
<!--
function event(s, u, i)
{
b=1;
var ThumbCodeLines = "";
while(i<=s)
{
ThumbCodeLines += "<a href='#' OnMouseOver='newMap("+i+")'><IMG SRC='"+u+i+"t.JPG'></img></a>";
thumbscroll.innerHTML = ThumbCodeLines;
i++;
b++;
}
}
function newMap(y, p) {
if (y < 5000)
{
document.de.src= o+y+".JPG";
}
else
{
o = p;
}
}
-->
</script>
</head>
<body>
<img name=de src="images/SampleDrift.jpg" align="center" vspace=10>
<table border=0>
<div id='row'>
<div id='thumbscroll'>
<center><font color=#494C4E>.</font></center>
</div>
</div>
</table>
</body>
</html>
"Mistakes are the portals of discovery"
James Joyce