Re: Colour contrast verification tool

Is it altogether clear that this code is copyright?

Anyone wishing to rewrite this code and make it accessible may like to 
know that it can work for a mac:

remove the mac alert, and change the following 3 lines thus:

var color = "#";

document.getElementById('bgTable').style.backgroundColor = 
makeColor(br,bg,bb);//(br + "" + bg + "" + bb);
document.getElementById('fgTable').style.backgroundColor = 
makeColor(fr,fg,fb);//(br + "" + bg + "" + bb);

a search of the code for alert, color and makeColor should make the 
above clear

thanks

Jonathan Chetwynd
http://www.peepo.co.uk
"A web by people with learning difficulties"

Received on Sunday, 28 December 2003 15:58:10 UTC