I want to use the following to display the browser info ONLY in the onload function, without writing a new page. If I use the script without 'window.onload' it displays in the current window with it, it creates a new page within the window. Help?.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>test1</title>
</head>
<body>
<table>
<tr>
<td width="33%"></td>
<td><SCRIPT language="JavaScript">
<!--
window.onload=showme
function showme(){
document.write("You are using "+navigator.appName+" "+navigator.appVersion);
}
//-->
</SCRIPT>
</td>
<td width="33%"></td>
</tr>
</table>
</body>
</html> [sig][/sig]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>test1</title>
</head>
<body>
<table>
<tr>
<td width="33%"></td>
<td><SCRIPT language="JavaScript">
<!--
window.onload=showme
function showme(){
document.write("You are using "+navigator.appName+" "+navigator.appVersion);
}
//-->
</SCRIPT>
</td>
<td width="33%"></td>
</tr>
</table>
</body>
</html> [sig][/sig]