Hi,
I am tring the change the background-color of a layer in every 10 seconds
but get an error message...will you please fix the problem..?
thanks
VB Code:
<html> <head> <script> var con=0; setInterval(" degis() ", 2000) function degis() { con++; document.getElementById("mytext").value=con if (con==5) { document.getElementById(" mydiv ").value=blue; } } </script> </head> <body> <div id=mydiv style="position:absolute;top:1;left:0; color:red;width:1020;height:120;z-index:-1;"> hello there...... </div> <form> <input type=text id="mytext" size=3 style="position:absolute;top:200;left:200;font-size:14pt;"><br><br> <input type=button value="print the nums..." style="position:absolute; top:400; left:200; onClick:'degis()';"><br><br> </form> </body> </html>




Reply With Quote