Browser Configuration Behaviors
Earlier, we saw the Call JavaScript behavior in action. Let’s explore three more DW behaviors, which, like all behaviors, are applied via the Behaviors panel. We’ll examine other behaviors in subsequent chapters.
Check Browser
The Check Browser behavior sends the user
to different pages based on the browser’s brand and version.
Applying the Check Browser behavior (typically to the
<body> tag) opens the dialog box shown in
Figure 12-9, where you can set its parameters.

Figure 12-9. Check Browser behavior parameters
This behavior splits visitors into three groups depending on whether you select the Stay On This Page, Go To URL, or Go To Alt URL option. You can change the version number used to discriminate between browsers (i.e., you don’t have to leave it at Version 4.0 for either brand, and it doesn’t need to be the same for both brands). You can use this behavior to separate users by brand, rather than by version, by sending all Netscape users to one URL and all Internet Explorer users to the Alt URL. You can apply the same behavior (with different parameters) to subsequent pages to discriminate even further.
Note that this behavior works with Version 3+ browsers, except for IE on the Macintosh, which requires Version 4 or later. Therefore IE3 on the Macintosh, like all browsers that don’t support JavaScript, will stay on the current page. You should ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access