打开页面颜色渐变

发布时间:2008-12-20 12:33:00 阅读次数:

脚本说明: 第一步:把如下代码加入区域中 <script Language="JavaScript"> function BgColor() { var x = 0, step = 1 while( x <= 0xffffff) { document.bgColor = x x += step step <<= 8 if( step >= 0x1000000) step = 1 } } BgColor() </script> 第二步:把中的内容改为: