From: Matthew B. <mat...@co...> - 2005-07-19 13:36:59
|
I noticed that at the moment if anyone visits the new style creation pages and has JavaScript turned off then then help items cannot be expanded. Would it not be a better default state to have them expanded and only collapse them for people who have JavaScript turned on? This would be similar to the way the left hand frame works. In other news I am going to push in the HTML editing widget. As this will change the creation templates I'll give a quick summary here. Rather than editing all the templates to support a particular HTML editing widget I added some JavaScript that looks for all <textarea> tags in the current document and if it find one then it adds the editing widget button. This way only people who have JavaScript enabled will see the editing button, it should also make it easy to add support for other editors at a later date. Because XML parsers collapse empty tags I also added support to XmlTemplate for <textarea> tags so that whenever it encounters one it processes it specially (keeping <textarea></textarea> rather than converting it to <textarea/>). I'll probably merge the JavaScript include used by the new style templates with my JavaScript stuff for the editing widget. -- +--Matthew Buckett-----------------------------------------+ | VLE Developer, Learning Technologies Group | | Tel: +44 (0) 1865 283660 http://www.oucs.ox.ac.uk/ | +------------Computing Services, University of Oxford------+ |