D
D E
Here is the problem. The following script/html code works in IE, not
Netscape. The javascript portion produces the text to be dynamically written
in the
<A HREF="">HEREHEREHERE</A> portion...
The HEREHEREHEREHERE writes fine in internet explorer, but does not appear
at all in Netscape 7.1. I think it might have something to do with layers...
How do I correct this? Thanks.
-----------------------JAVASCRIPT PORTION:----------------------------------
<SCRIPT LANGUAGE="JAVASCRIPT" TYPE="text/javascript">
<!---
function produceEnter() {
//produces a random number between 1 and 8
intInt = Math.round(Math.random() * 7 + 1);
switch(intInt) {
case 1: //Spanish
langString = "[ENTRE](spanish)";
break;
case 2: //French
langString = "[ENTRER](french)";
break;
case 3: //German
langString = "[TRAGEN SIE EIN](german)";
break;
case 4: //Italian
langString = "[ENTRARE](italian)";
break;
case 5: //Dutch
langString = "[GA BINNEN](dutch)";
break;
case 6: //Portuguese
langString = "[ENTRE](portuguese)";
break;
case 7: //English
langString = "[ENTER](english)";
break;
case 8: //Norwegian
langString = "[GÅ INN I](norwegian)";
break;
default: //English
langString = "[ENTER](english)";
break;
}
Enter.innerHTML = langString;
}
--->
</SCRIPT>
-----------------------------HTML PORTION-----------------------
<TABLE BACKGROUND="images/opener-waterfall.gif" ALIGN="CENTER"
VALIGN="CENTER" BORDER="0" CELLPADDING="0" CELLSPACING="0">
<TR>
<TD>
<TABLE BACKGROUND="none.gif" ALIGN="CENTER" VALIGN="CENTER">
<TR>
<TD CLASS="centerTD"><A HREF="index2.html"><DIV
ID="Enter"></DIV></A></TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
-----------------------------END CODE-------------------
Netscape. The javascript portion produces the text to be dynamically written
in the
<A HREF="">HEREHEREHERE</A> portion...
The HEREHEREHEREHERE writes fine in internet explorer, but does not appear
at all in Netscape 7.1. I think it might have something to do with layers...
How do I correct this? Thanks.
-----------------------JAVASCRIPT PORTION:----------------------------------
<SCRIPT LANGUAGE="JAVASCRIPT" TYPE="text/javascript">
<!---
function produceEnter() {
//produces a random number between 1 and 8
intInt = Math.round(Math.random() * 7 + 1);
switch(intInt) {
case 1: //Spanish
langString = "[ENTRE](spanish)";
break;
case 2: //French
langString = "[ENTRER](french)";
break;
case 3: //German
langString = "[TRAGEN SIE EIN](german)";
break;
case 4: //Italian
langString = "[ENTRARE](italian)";
break;
case 5: //Dutch
langString = "[GA BINNEN](dutch)";
break;
case 6: //Portuguese
langString = "[ENTRE](portuguese)";
break;
case 7: //English
langString = "[ENTER](english)";
break;
case 8: //Norwegian
langString = "[GÅ INN I](norwegian)";
break;
default: //English
langString = "[ENTER](english)";
break;
}
Enter.innerHTML = langString;
}
--->
</SCRIPT>
-----------------------------HTML PORTION-----------------------
<TABLE BACKGROUND="images/opener-waterfall.gif" ALIGN="CENTER"
VALIGN="CENTER" BORDER="0" CELLPADDING="0" CELLSPACING="0">
<TR>
<TD>
<TABLE BACKGROUND="none.gif" ALIGN="CENTER" VALIGN="CENTER">
<TR>
<TD CLASS="centerTD"><A HREF="index2.html"><DIV
ID="Enter"></DIV></A></TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
-----------------------------END CODE-------------------