有什么问题请到评论中发表<br> <!-- http://www.mb5u.com/jscode --> <!-- bbs http://www.mb5u.com/bbs--> <!-- 完整的HTML代码 --> <html> <head> <title> 网页中某一区域的颜色变化 </title> <style> .a{background-color:blue;} .b{background-color:white;} </style> <script> function colorOn() { if(document.getElementById(\"c\").className==\"a\") document.getElementById(\"c\").className=\"b\"; else document.getElementById(\"c\").className=\"a\"; setTimeout(\"colorOn()\",190) } </script> </head> <body onload=\"colorOn()\"> <span id=c style=\"position:absolute;top:20pt;left:100pt;width=530;height=25;\"> 南阳理工学院通知:微软论证考试将推迟到2005年4月份 </span> </body> </html> <br><br><br> <p><font color=red>//作者:南阳理工学院软件学院,任彬玉 联系:0377-3114024,0373-7916269 </font></p>