<html>
<head>
<script language="javascript">
function dotnet() {
var ag = navigator.userAgent;
if (ag.indexOf("IE")!=-1) {
if (ag.indexOf("NET CLR") != -1) {
if (ag.indexOf("NET CLR 1.0")!= -1) {
document.write(".net Framework version 1.0 found.<br/>");
}
if (ag.indexOf("NET CLR 1.1")!= -1) {
document.write(".net Framework Version 1.1 found.<br/>");
}
if (ag.indexOf("NET CLR 2")!= -1) {
document.write(".net Framework Version 2 found.<br/>");
}
} else {
document.write("No .net Framework found.<br/>Please install the .net Framework.");
}
} else {
document.write("The automatic detection of the .net framework only works in Internet Explorer.");
}
}
</script>
</head>
<body>
<div style="background-color: FFCC00; border-width: 1; border-style: solid; border-color: 000000;
width: 800px; padding: 4px; line-height: 14px;">
.net Framework Status
</div>
<div style="border-width: 0px 1px 1px 1px; border-style: solid; border-color: 000000; width: 800px;
padding: 4px;">
<script language="javascript">dotnet();</script>
</div>
</body>
</html>
출처 : http://www.codeschmiede.net/dotnettester_en.html
반응형
'Information' 카테고리의 다른 글
| 일본이 인터넷 뱅킹을 하는 방법 (0) | 2010.01.09 |
|---|---|
| Web Browser 세계시장 점유율 (2009년7월 기준) (1) | 2009.08.29 |
| DDoS 악성코드에 의한 하드디스크 피해방지 (3) | 2009.07.13 |