Código:
<HTML>
<BODY>
<script>
var color = new Array;
color[1] = "blue";
color[2] = "yellow";
color[3] = "red";
for(x = 0; x <3; x++)
{
document.bgColor = color[x]
if(x == 2)
{
x = 0;
}
}
</SCRIPT>
</BODY>
</HTML>
<BODY>
<script>
var color = new Array;
color[1] = "blue";
color[2] = "yellow";
color[3] = "red";
for(x = 0; x <3; x++)
{
document.bgColor = color[x]
if(x == 2)
{
x = 0;
}
}
</SCRIPT>
</BODY>
</HTML>
Prueba de Concepto:
http://ciberia.ya.com/webmousehack/bugcolor.html
no probado con firefox...
opiniones???
Salu2










Autor


En línea






