Thread: just a question
View Single Post
Old 09-06-2006   #6 (permalink)
metsatöll
Registered User
 
Join Date: Aug 2006
Posts: 43

I agree with all above msg-s, good webmaster could be able to make one code which would work for all browsers.

Answer of your question is

Code:
<script language="JavaScript" 
type="text/JavaScript">
if(navigator.appName == "WebTV")
{
 window.location = "WebTVHome.html"
}
 if(navigator.appName == "Netscape")
{
 window.location = "NetscapeHome.html"
}
 if(navigator.appName == "Microsoft Internet Explorer")
{
 window.location = "ExplorerHome.html"
}
 window.location == "Other.html"
</script>
metsatöll is offline