NOF-digitise Technical Advisory Service 2001 - 2004 archive |
|
Compliance CornerCompliance corner comprises a series of issues that have arisen in the context of projects meeting technical standards. This page covers: Javascript The use of client-side scripting (including javascript and DHTML techniques) is acceptable, however please take note of the following points: 1) The site must still be accessible to browsers which are not scriptable. Use <noscript>< tags and "sniffer" routines to determine the client capabilities and provide content-equivalent pages to non-scriptable browsers. 2) Thoroughly test your pages for functionality under a wide range of browser / platform configurations. A few general comments on client-side scripting: There Is More Than One Javascript... Internet Explorer also supports VBscript, based on Visual Basic. This will not work in other browser versions. ( ECMA = European Computer Manufacturing Association ) USE "language" Attributes in <script> Tags: DHTML: What Is It?: Use of DHTML is compatible with the open standards developed by W3C, and so its use is OK from a standards point of view. <noscript> Tags: Accessibility: Future Proofing: Script Block Content Shielding: <script> <!-- ...javascript goes here // --> </script> Browser Detection Aka Sniffing: if (document.images){ Proportion Of Javascript-Enabled Browsers: Further Resources: Return to Compliance Corner contents |
UKOLN is funded by MLA, the Museums, Libraries and Archives Council, the Joint Information Systems Committee (JISC) of the Higher and Further Education Funding Councils, as well as by project funding from the JISC and the European Union. UKOLN also receives support from the University of Bath where it is based. |
T A S : 2 0 0 1 - 2 0 0 4 : A R C H I V E This page is part of the NOF-digi technical support pages http://www.ukoln.ac.uk/nof/support/. The Web site is no longer maintained and is hosted as an archive by UKOLN. Page last updated on Monday, May 09, 2005 |