spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / programming / javascript / designing / chap6

Designing with JavaScript, 2nd Edition

Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

[The excerpts printed here are from Chapter 6 of the O'Reilly & Associates title Designing with JavaScript, 2nd Edition.]

IN THIS CHAPTER  
 »  Detecting different browsers using the navigator object  
 »  Tailoring content to specific browsers  
 »  Checking for plug-ins  

A long time ago, life was simple: there was standard HTML and NCSA Mosaic. Then came Netscape Navigator, with its HTML "extensions," and suddenly sites started labeling themselves "Enhanced for Netscape," meaning, of course, "this site looks lousy in Mosaic." By the time Microsoft came along with Internet Explorer, Mosaic was effectively dead, and Netscape and Microsoft were locked in a war to extend HTML in ways that would make one of their products the dominant browser. Fortunately, they both handled JavaScript, albeit to different extents, so it became the job of JavaScript to differentiate between the two.

As of this writing, that war is just about over. Microsoft Internet Explorer (IE) is by far the dominant browser, though Netscape has finally released an updated browser, Netscape 6, years after being bought by America Online. Of course, many people still use Netscape Navigator, and many others use older versions of Internet Explorer, so the basic problem remains: how do you find out which browser a given user is using and tailor your site accordingly?

This chapter is all about making your site as friendly as possible to each browser, as well as to different versions of those browsers.

Excerpt Contents


home / programming / javascript / designing / chap6

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint

Created: December 17, 2001
Revised: December 27, 2001

URL: http://webreference.com/programming/javascript/designing/chap6/