Forum Moderators: mack
I want to combine that with
<!-- Begin
var backColor = new Array();
backColor[0] = 'white';
backColor[1] = '#0F3C5D';
backColor[2] = '#CC0000';
backColor[3] = '#F84298';
function changeBG(whichColor){
document.bgColor = backColor[whichColor];
}
// End -->
and to use this to change the colour
<a href="javascript:changeBG(2)">Click here</a>