O'Reilly logo

macromedia Dreamweaver 8 by Khristine Annwn Page

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Checking the Browser

Not all browsers support JavaScript events and other features—some, particularly pre–4.0 browsers, have very limited support. With the Check Browser action, you can detect which browsers are being used by the visitors to your Website and redirect users to another page if you want to provide features that won’t display correctly in older browsers. For example, if your page contains layers (covered in Lesson 9), you could create a page without the layers and redirect users with 4.0 or later browsers to the page that uses layers. Users with older browsers or with JavaScript turned off would remain on the page that doesn’t use layers.

In this exercise you will add a Check Browser behavior to one page and redirect the users with ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required