From: Matthew B. <mat...@ou...> - 2006-08-01 09:32:08
|
Not going in now but attached is a cleanup of modify.html that was done with Weblearn in mind but applies to Bodington as well. I little cleanup of the Javascript is needed (better class attribute processing). It addresses: - JavaScript Off Help - Help text is now displayed when javascript is turned off. - CSS Style Cleanup - Styles are more specific and use the nested elements to make them easier to read and shorter in the HTML. Also multiple styles are used to reduce duplication. - Use HTML <labels> - Labels link the label of the input field to the description which enabled browser to work better and better accessibility. - Simpler HTML through JavaScript - The expanding help code now just looks for elements with the class help rather the scanning the whole document for a specified ID. This means these chunks can be copied and pasted easier which changing lots of IDs. It also means that if you are building a page from several sections you don't have to worry about clashing IDs. - Removal of <br/> - Use CSS to layout the content rather than multiple <br/>s. -- -- Matthew Buckett, VLE Developer -- Learning Technologies Group, Oxford University Computing Services -- Tel: +44 (0)1865 283660 http://www.oucs.ox.ac.uk/ltg/ |