Make your own free website on Tripod.com

Javascript Tutorial Part 11

myitcareer.org-Your IT Career Partner For Life. Please Bookmark It.
Homework Help | Buy Book | Buy Phone | Top Web Hosts | Hire Web Designer
Home | Interview Questions And Answers | Plan Wedding | Online Tuition
Top Domain Registrars | Hire Freelancer | Hosting Charges | Hindi News


<script language="JavaScript">
document.write("You are browsing this site with: "+ navigator.appName)
</script>

</head>
<body>
</body>
</html>

Message:
<html>
<head>
<script language="JavaScript">
function browserversion()
{
txt="Your Browser is unknown"
browser=navigator.appVersion
if (browser.indexOf("2.")>-1)
{
txt="Your Browser is from the stone-age"
}
if (browser.indexOf("3.")>-1)
{
txt="You should update your Browser."
}
if (browser.indexOf("4.")>-1)
{
txt="Your Browser is good enough"
}
document.forms[0].message.value=txt
}
</script>
</head>

<body onload="browserversion()">

<form>
<input type="text" name="message" size="50">
</form>

</body>
</html>

Verschiedene Browser, verschiedene Seiten:
<html>
<head>
<script language="JavaScript">
function redirectme()
{
bname=navigator.appName
Previous| Next