Search our FrontPage Support
Area
FrontPage Support Area Site
Map
The following are answers to common questions in the Microsoft
FrontPage Client Newsgroup:
How can I detect which browser is being used?
Whenever possible, you should be testing for the
capabilities of the browser (for example, VBScript
support) rather than identifying the browser. This will
automatically handle upgraded versions of browsers. If
that's not practical, you must use scripting code such as
the following.
<SCRIPT LANGUAGE="JavaScript">
<!--
var ver = navigator.appVersion;
if (ver.indexOf("MSIE") != -1)
{
window.location.href="ie.htm"
}else
window.open("netscape.html",
target="_self")
// -->
</SCRIPT>
Microsoft
Site Builder
|