<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
</HEAD>
<BODY>
<div >
<img border="0" src="img/header.gif" alt="Pulpit rock" width="904" height="128">
<script type="text/javascript">
function detectBrowser() {
// document.write("<a href="jre.html"><img src="C:\Documents and Settings\nawab.a\Desktop\header.gif" border="0"></a>");
//document.write("<br/>");
// document.write("<a href='jre.html','width=100' title='KNOW Your JRE VERSION'>JRE Version</a>");
//<a href="../html-link.htm" target="popup" onclick="window.open('../html-link.htm','name','width=600,height=400')">Open page in new window</a>
document.write("<br/>");
document.write("<br/>");
var N = navigator.appName;
var UA = navigator.userAgent;
var temp;
var browserVersion = UA.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);
if (browserVersion && (temp = UA.match(/version\/([\.\d]+)/i)) != null)
browserVersion[2] = temp[1];
browserVersion = browserVersion ? [browserVersion[1], browserVersion[2]] : [N, navigator.appVersion, '-?'];
document.write("<b>Browser & ContentVerse Software Property</b>")
document.write("<br>");
document.write("Browser Name & Version: " + browserVersion);
document.write("<br>");
document.write("<br>");
// readValue(); // function for get dll details......
}
</script>
</div>
<body onload="javascript:detectBrowser();">
</BODY>
</HTML>
嗨,这段代码工作正常,但无法显示图像..我想在头部显示图像,然后显示我认为问题的所有信息是因为身体加载功能..
我也尝试过在超链接中显示图像但不工作。