| free hosting image hosting hosting reseller online album e-shop famous people | ||
![]() ![]() |
||
And this submit button script goes in the body section:
if (flashelement[which].style.color=='')The flash rate - one second in this example - is determined by:
flashelement[which].style.color="red"
else
flashelement[which].style.color=""
if (flashelement.length==null)A single pass is used if only one element needs to be flashed, or a loop if there are more elements.
setInterval("changecolor(0)",1000)
else
for (i=0;i<flashelement.length;i++)
{
var tempvariable='setInterval("changecolor('+i+')",'+'1000)'
eval(tempvariable)
}