This function is called on the onMouseOut even of a table cell for a menu.
I want it to sort of fade out but for some reason i can't get it to work.
If some one could help me out on this one i would greatly appreciate it.
function out(obj)
{
var colors = new Array(5);
colors[0]='#006666';
colors[1]='#003333';
colors[2]='#002222';
colors[3]='#001111';
colors[4]='';
for(i=0; i<5; i++)
{
setTimeout("ret urn","200");
obj.style.backg roundColor= colors[i];
}
}
would be called like this:
<td onMouseOut="Out (this);">Someth ing</td>
Thanks in advance.
NeoPhreak >.<
I want it to sort of fade out but for some reason i can't get it to work.
If some one could help me out on this one i would greatly appreciate it.
function out(obj)
{
var colors = new Array(5);
colors[0]='#006666';
colors[1]='#003333';
colors[2]='#002222';
colors[3]='#001111';
colors[4]='';
for(i=0; i<5; i++)
{
setTimeout("ret urn","200");
obj.style.backg roundColor= colors[i];
}
}
would be called like this:
<td onMouseOut="Out (this);">Someth ing</td>
Thanks in advance.
NeoPhreak >.<
Comment