Dragonfish
Programmer
Hi,
Netscape 6.2 is complaining that a function is´nt defined - and I can´t figure out what the f... wants. I´ve been programming for IE and want to include NS. Here´s what I´ve got:
index.html ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Test Browser</title>
<meta name="author" content="gullever">
<meta name="generator" content="Ulli Meybohms HTML EDITOR">
<script language="JavaScript" src="index.js" type="text/javascript"></script>
</head>
<body onLoad="main()">
</body>
</html>
calls index.js...
function main(){
document.write("Just a Test<br>"
;
browser_check();
}
function browser_check(){
alert("in Browser check area"
;
}
Using IE both the document.write("Just a Test<br>"
; and alert("in Browser check area"
; are ok
Using NS the document.write("Just a Test<br>"
; is ok but alert("in Browser check area"
; causes an error - browser_check is not defined. If things don´t work at this level then programming for NS looks like it could be a nightmare - appreciate the help - DavidinGermany
Netscape 6.2 is complaining that a function is´nt defined - and I can´t figure out what the f... wants. I´ve been programming for IE and want to include NS. Here´s what I´ve got:
index.html ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Test Browser</title>
<meta name="author" content="gullever">
<meta name="generator" content="Ulli Meybohms HTML EDITOR">
<script language="JavaScript" src="index.js" type="text/javascript"></script>
</head>
<body onLoad="main()">
</body>
</html>
calls index.js...
function main(){
document.write("Just a Test<br>"

browser_check();
}
function browser_check(){
alert("in Browser check area"

}
Using IE both the document.write("Just a Test<br>"


Using NS the document.write("Just a Test<br>"

