View Full Version : on mouseover colour changes


Sylas
03-24-2003, 09:46 PM
ok, here's the issue...i'm not even sure if it can be fixed the way this was written.....

<script language="javascript">
<!--
function movein(which,html){
which.style.background='#ffccff'
if (document.getElementById)
document.getElementById("boxdescription").innerHTML=html
else
boxdescription.innerHTML=html
}
function moveout(which){
which.style.background='#6699ff'
if (document.getElementById)
document.getElementById("boxdescription").innerHTML='&nbsp;'
else
boxdescription.innerHTML='&nbsp;'
}
//-->
</script>

this allows each item on mouseover to change to the light purple.. and then back to the blue, but is there a way to have say 10 different links mouseover to 10 different colours??

just curious.. i cant figure it out....

-=sylas=-