|
|
|
|
Browser CompatibilityCreate alternate versions to support multiple browsers If you want to use new Web technologies, such as layers, frames, or JavaScript, and you also want your site to be accessible to people who use lower level browsers and old screen readers, then you will need to create an alternate version of your site. The alternate version should be produced without relying on frames. Make use of browser sniffers Use a browser sniffer to determine which site version should be sent to each user. Sniffers use a scripting language like JavaScript or CGI to determine various aspects about the user's browser, such as its version, level of JavaScript, browser name, ability to interpret Java, installed plugins, etc. The example HTML file below will load one of three HTML pages when the link is clicked. It determines which page to load based on the version of JavaScript supported on the browser. <html><head><title>JavaScript Browser Sniffer</title></head>
|
|
|
|