O'Reilly logo

Essential JavaScript™ for Web Professionals, Second Edition by Dan Barrett

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

Advanced Projects

The first two scripts are fairly simple examples of what you can accomplish with platform/browser detection and dynamic HTML generation. Here are several other project ideas that use these techniques. You can implement them into your Web pages, which will give you a better understanding of the great stuff you can accomplish:

  1. Use browser detection to dynamically create whole pages that are customized to work with specific browser versions.

  2. Create a page that will gather all of the information contained in the NAVIGATOR object, and dynamically generate a table that will display that information to the user (this is very useful as a development tool).

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