Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <script>
- var coloresIntermedios = ['#FF0000','#FF1000'];
- var color = 0;
- function otroColor() {
- document.forms[0].cdc.style.color = coloresIntermedios[color++ % coloresIntermedios.length];
- }
- </script>
- <title>Ejemplo</title>
- </head>
- <body background="C:UsersPublicPaginas WEB1.jpg" onload="setInterval('otroColor()', 100)">
- <center>
- <p>
- <form>
- <input id="tc" disabled type="submit" type="text" name="cdc" value="Colores 1" />
- </form>
- <p>
- <form>
- <input id="tc" disabled type="submit" type="text" name="cdc" value="Colores 2" />
- </form>
- </center>
- </body>
- </html>
Add Comment
Please, Sign In to add comment