Javascript Code
<!-- Script by hscripts.com -->
<script language=javascript>
function os()
{
var os = navigator.platform;
os = os.toLowerCase();
if(os == "win32" || os == "win16")
{
document.osd.opr.value="You are using Windows operating system";
}
else if(os.indexOf("linux") >= 0)
{
document.osd.opr.value="You are using Linux operating system";
}
else if(os.indexOf("mac") >= 0)
{
document.osd.opr.value="You are using Mac operating system";
}
}
</script>
<!-- Script by hscripts.com -->
HTML Code
<table border=0 align=center width=48%>
<tr><td>
<body onload="os()">
<form name=osd>
<input type=text name=opr size=40 style="position: absolute; background-color:#454545; text-align:center; color:white; font-family:arial,verdhana; font-weight:bold;">
</form></body>
</td></tr></table>
Get free version without ©copyright link for just
5
|