From: Jon M. <jo...@te...> - 2006-04-24 14:58:54
|
I'd be grateful if you would all take a look at this demo; http://www.jommaber.co.uk:8080/dynamicstyle/ In particular with a view to using this technique to replace the style sheet processing code in Bodington. The intention is that the addition of new CSS classes involves simply editing a style file rather than working on numerous lines of Java source code but that the dynamic processing of colours etc. is just as good, if not better than the current functionality in Bodington. Please bear in mind that the work is far from complete. Top priority is the modification of hue values for three forms of colour blindness so that emphasised foreground colours remain distinct. There is also work needed for handling background images, scaling of foreground images, spacing of text etc. etc. There are also constraints on the style file at the moment, e.g. if any foreground colour is given in a CSS block there must be a background declaration too which cannot be transparent. The code for all this can be co-installed in the Bodington web application but can operate separately from it and be used to process style for other web applications. It could be installed in the ROOT web application and cover the whole Tomcat installation. Jon |