54、改变背景色

54、改变背景色

脚本说明:

把如下代码加入<body>区域中

<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="84" HEIGHT="100" BGCOLOR="#333333">

       <TR>

              <TD WIDTH="7" BGCOLOR="#660000"><A HREF="#" onmouseover="document.bgColor='#660000'"><FONT COLOR="#660000">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="maroon"><A HREF="#" onmouseover="document.bgColor='maroon'"><FONT COLOR="maroon">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#990000"><A HREF="#" onmouseover="document.bgColor='#990000'"><FONT COLOR="#990000">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#CC0000"><A HREF="#" onmouseover="document.bgColor='#CC0000'"><FONT COLOR="#CC0000">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="red"><A HREF="#" onmouseover="document.bgColor='red'"><FONT COLOR="red">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#FF6666"><A HREF="#" onmouseover="document.bgColor='#FF6666'"><FONT COLOR="#FF6666">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#FF9999"><A HREF="#" onmouseover="document.bgColor='#FF9999'"><FONT COLOR="#FF9999">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#FFCCCC"><A HREF="#" onmouseover="document.bgColor='#FFCCCC'"><FONT COLOR="#FFCCCC">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#3366FF"><A HREF="#" onmouseover="document.bgColor='#3366FF'"><FONT COLOR="#3366FF">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#CC33FF"><A HREF="#" onmouseover="document.bgColor='#CC33FF'"><FONT COLOR="#CC33FF">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="fuchsia"><A HREF="#" onmouseover="document.bgColor='fuchsia'"><FONT COLOR="fuchsia">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#999999"><A HREF="#" onmouseover="document.bgColor='#999999'"><FONT COLOR="#999999">x</FONT></A></TD>

       </TR>

       <TR>

              <TD WIDTH="7" BGCOLOR="#663300"><A HREF="#" onmouseover="document.bgColor='#663300'"><FONT COLOR="#663300">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#993300"><A HREF="#" onmouseover="document.bgColor='#993300'"><FONT COLOR="#993300">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#CC6600"><A HREF="#" onmouseover="document.bgColor='#CC6600'"><FONT COLOR="#CC6600">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#FF6600"><A HREF="#" onmouseover="document.bgColor='#FF6600'"><FONT COLOR="#FF6600">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#FF6666"><A HREF="#" onmouseover="document.bgColor='#FF6666'"><FONT COLOR="#FF6666">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#FF9900"><A HREF="#" onmouseover="document.bgColor='#FF9900'"><FONT COLOR="#FF9900">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#FF9966"><A HREF="#" onmouseover="document.bgColor='#FF9966'"><FONT COLOR="#FF9966">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#FFCC99"><A HREF="#" onmouseover="document.bgColor='#FFCC99'"><FONT COLOR="#FFCC99">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#0033CC"><A HREF="#" onmouseover="document.bgColor='#003399'"><FONT COLOR="#0033CC">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#CC00FF"><A HREF="#" onmouseover="document.bgColor='#CC00FF'"><FONT COLOR="#CC00FF">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#FF00CC"><A HREF="#" onmouseover="document.bgColor='#FF00CC'"><FONT COLOR="#FF00CC">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="gray"><A HREF="#" onmouseover="document.bgColor='gray'"><FONT COLOR="gray">x</FONT></A></TD>

       </TR>

       <TR>

              <TD WIDTH="7" BGCOLOR="#006600"><A HREF="#" onmouseover="document.bgColor='#006600'"><FONT COLOR="#006600">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="green"><A HREF="#" onmouseover="document.bgColor='green'"><FONT COLOR="green">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#009900"><A HREF="#" onmouseover="document.bgColor='#009900'"><FONT COLOR="#009900">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#00CC00"><A HREF="#" onmouseover="document.bgColor='#00CC00'"><FONT COLOR="#00CC00">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="lime"><A HREF="#" onmouseover="document.bgColor='lime'"><FONT COLOR="#66FF66">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#66FF66"><A HREF="#" onmouseover="document.bgColor='#66FF66'"><FONT COLOR="#66FF66">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#99FF99"><A HREF="#" onmouseover="document.bgColor='#99FF99'"><FONT COLOR="#99FF99">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#CCFFCC"><A HREF="#" onmouseover="document.bgColor='#CCFFCC'"><FONT COLOR="#CCFFCC">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#003399"><A HREF="#" onmouseover="document.bgColor='#003399'"><FONT COLOR="#003399">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#9900CC"><A HREF="#" onmouseover="document.bgColor='#9900CC'"><FONT COLOR="#9900CC">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#CC0099"><A HREF="#" onmouseover="document.bgColor='#CC0099'"><FONT COLOR="#CC0099">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#666666"><A HREF="#" onmouseover="document.bgColor='#666666'"><FONT COLOR="#666666">x</FONT></A></TD>

       </TR>

       <TR>

              <TD WIDTH="7" BGCOLOR="#003333"><A HREF="#" onmouseover="document.bgColor='#003333'"><FONT COLOR="#003333">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#006666"><A HREF="#" onmouseover="document.bgColor='#006666'"><FONT COLOR="#006666">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="teal"><A HREF="#" onmouseover="document.bgColor='teal'"><FONT COLOR="teal">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#009999"><A HREF="#" onmouseover="document.bgColor='#009999'"><FONT COLOR="#009999">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#00CCCC"><A HREF="#" onmouseover="document.bgColor='#00CCCC'"><FONT COLOR="#00CCCC">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#66CCCC"><A HREF="#" onmouseover="document.bgColor='#66CCCC'"><FONT COLOR="#66CCCC">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#66FFCC"><A HREF="#" onmouseover="document.bgColor='#66FFCC'"><FONT COLOR="#66FFCC">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#99FFCC"><A HREF="#" onmouseover="document.bgColor='#99FFCC'"><FONT COLOR="#99FFCC">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="navy"><A HREF="#" onmouseover="document.bgColor='navy'"><FONT COLOR="navy">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#660099"><A HREF="#" onmouseover="document.bgColor='#660099'"><FONT COLOR="#660099">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#990066"><A HREF="#" onmouseover="document.bgColor='#990066'"><FONT COLOR="#990066">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#333333"><A HREF="#" onmouseover="document.bgColor='#333333'"><FONT COLOR="#333333">x</FONT></A></TD>

       </TR>

       <TR>

              <TD WIDTH="7" BGCOLOR="#000099"><A HREF="#" onmouseover="document.bgColor='#000099'"><FONT COLOR="#000099">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="blue"><A HREF="#" onmouseover="document.bgColor='blue'"><FONT COLOR="blue">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#0066FF"><A HREF="#" onmouseover="document.bgColor='#0066FF'"><FONT COLOR="#0066FF">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#0099FF"><A HREF="#" onmouseover="document.bgColor='#0099FF'"><FONT COLOR="#0099FF">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#00CCFF"><A HREF="#" onmouseover="document.bgColor='#00CCFF'"><FONT COLOR="#00CCFF">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#66FFFF"><A HREF="#" onmouseover="document.bgColor='#66FFFF'"><FONT COLOR="#66FFFF">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#99FFFF"><A HREF="#" onmouseover="document.bgColor='#66FFFF'"><FONT COLOR="#99FFFF">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#CCFFFF"><A HREF="#" onmouseover="document.bgColor='#CCFFFF'"><FONT COLOR="#CCFFFF">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#000066"><A HREF="#" onmouseover="document.bgColor='#000066'"><FONT COLOR="#000066">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#330066"><A HREF="#" onmouseover="document.bgColor='#330066'"><FONT COLOR="#330066">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="#660033"><A HREF="#" onmouseover="document.bgColor='#660033'"><FONT COLOR="#660033">x</FONT></A></TD>

              <TD WIDTH="7" BGCOLOR="black"><A HREF="#" onmouseover="document.bgColor='black'"><FONT COLOR="black">x</FONT></A></TD>

       </TR>

</TABLE>

 

Write a comment

Comments: 0