Use the Check Browser action to send visitors to different pages depending on their browser brands and versions. For example, you might want visitors to go to one page if they have Netscape Navigator 4.0 or later, to go to another page if they have Internet Explorer 4.0 or later, and to stay on the current page if they have any other kind of browser.
Its useful to attach this behavior to the body
tag of a page that is compatible with practically any browser (and that does not use any other JavaScript); this way, visitors who come to the page with JavaScript turned off will still see something.
Another option is to attach this behavior to a null link (such as <a href="javascript:;">
) and have the action determine the links destination based on the visitors browser brand and version.
For example, do you want everyone with a 4.0 browser to see one page, and all others to see a different page? Or perhaps you want Netscape Navigator users to see one page and Internet Explorer users to see another.
The options are Go to URL, Go to Alt URL, and Stay on This Page.
The options are Go to URL, Go to Alt URL, and Stay on This Page.
Stay on This Page is the best option for browsers other than Netscape Navigator and Internet Explorer because most do not support JavaScript--and if they cannot read this behavior, they will stay on the page anyway.
If it isnt, select another event from the pop-up menu. If the events you want are not listed, change the target browser in the Show Events For pop-up menu. Remember that the purpose of this behavior is to check for different browser versions, so its best to select an event that works on 3.0 and later browsers.