Webmaster

DHTML : Overview
Contents ]
Sékine Coulibaly

Browser Compatibility

DHTML has quickly captured the attention of Internet developers but naturally also of Netscape and Microsoft. And these two competitors try (sometimes desperately) to impose their vision, their "philosophy" and, by the same token, their way of supporting DHTML. Consequently, it is difficult to develop a dynamic page supported by both browsers.

They use neither the same model, nor the same page description. Without going into too many details, how can we offer to visitors pages that can be seen by one or other of the browsers?

Above all, you must be able to produce a cross-browser code, which is able to work in the two browsers by using common basic features. It is up to you to use all the techniques at your disposal so as to avoid leaving too many visitors behind. As a surfer, you yourself should know that nothing is more frustrating than script errors or, worse, a message telling you that you are not using the right browser that would enable you to visit the site.

In our workshops, only projects compatible with both browsers will be described.

The right browser. Version 4 and above of Internet Explorer and Netscape Navigator support DHTML. If you use DHTML on your site, we recommend informing your visitors that these browser versions are a minimum requirement.

You can also create different versions of a DHTML page and, using a JavaScript script, detect the browser used by visitors, then load the appropriate page: either Microsoft- or Netscape-enabled and maybe also in pure HTML only for people using non DHTML-compatible browsers.



  1   2   3   4