- Code: Select all
<script language="javascript" type="application/javascript">
function chgBackground(a,b) {
document.getElementById('adContent').style.backgroundColor = a;
document.getElementById('adContent').style.color= b;
}
</script>
here's one of the onClick events. I've tried with and without the 'javascript:' part.
- Code: Select all
<td><img src="images/color_1.jpg" alt="" width="17" height="17" onClick="javascript:chgBackground('#4f4f4f','#ffffff');" /></td>
any help is appreciated.
Chris


