I wrote a very simple little piece of JavaScript that changes the colour, background colour and font colour of a checkbox depending on the Mouse Event (onclick, onmouseover and onmouseout) and whether the checkbox is ticked or not. It can also reset it back to its previous settings too.
XHTML:
Test Checkbox1
JavaScript:
function mouseToggle(checkbox,label,bgcolour,fontcolour,bgreset,fontreset,mouseIn){
if(document.getElementById)
{
var cb = document.getElementById(checkbox);
var [...]