کد تغییر رنگ پس زمینه وب


  <html>
<head>
<script language="javascript">
function f1(code)
{
document.bgColor=code
document.fo1.t1.value=code
}
function f2()
{
document.bgColor="FFFFFF"
document.fo1.t1.value="FFFFFF"
}
</script>
</head>
<body>
<table align=center>
<tr>
<td name="t1" height=10 width=10 bgColor="000000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="050000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="100000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="150000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="200000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="250000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="300000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="350000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="400000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="450000" onclick='f1(this.bgColor)'>
</tr>
<tr>
<td name="t1" height=10 width=10 bgColor="500000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="550000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="600000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="650000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="700000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="750000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="800000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="850000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="900000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="950000" onclick='f1(this.bgColor)'>
</tr>
<tr>
<td name="t1" height=10 width=10 bgColor="A00000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="A50000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="AA0000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="B00000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="B50000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="BB0000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="C00000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="C50000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="CC0000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="D00000" onclick='f1(this.bgColor)'>
</tr>
<tr>
<td name="t1" height=10 width=10 bgColor="D50000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="DD0000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="E00000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="E50000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="EE0000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="F00000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="F50000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="FF0000" onclick='f1(this.bgColor)'>
</tr>
</table><br>
<table align=center>
<tr>
<td name="t1" height=10 width=10 bgColor="000000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="000500" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="001000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="001500" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="002000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="002500" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="003000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="003500" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="004000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="004500" onclick='f1(this.bgColor)'>
</tr>
<tr>
<td name="t1" height=10 width=10 bgColor="005000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="005500" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="006000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="006500" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="007000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="007500" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="008000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="008500" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="009000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="009500" onclick='f1(this.bgColor)'>
</tr>
<tr>
<td name="t1" height=10 width=10 bgColor="00A000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="00A500" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="00AA00" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="00B000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="00B500" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="00BB00" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="00C000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="00C500" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="00CC00" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="00D000" onclick='f1(this.bgColor)'>
</tr>
<tr>
<td name="t1" height=10 width=10 bgColor="00D500" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="00DD00" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="00E000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="00E500" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="00EE00" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="00F000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="00F500" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="00FF00" onclick='f1(this.bgColor)'>
</tr>
</table><br>
<table align=center>
<tr>
<td name="t1" height=10 width=10 bgColor="000000" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="000005" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="000010" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="000015" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="000020" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="000025" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="000030" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="000035" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="000040" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="000045" onclick='f1(this.bgColor)'>
</tr>
<tr>
<td name="t1" height=10 width=10 bgColor="000050" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="000055" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="000060" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="000065" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="000070" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="000075" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="000080" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="000085" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="000090" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="000095" onclick='f1(this.bgColor)'>
</tr>
<tr>
<td name="t1" height=10 width=10 bgColor="0000A0" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="0000A5" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="0000AA" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="0000B0" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="0000B5" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="0000BB" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="0000C0" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="0000C5" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="0000CC" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="0000D0" onclick='f1(this.bgColor)'>
</tr>
<tr>
<td name="t1" height=10 width=10 bgColor="0000D5" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="0000DD" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="0000E0" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="0000E5" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="0000EE" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="0000F0" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="0000F5" onclick='f1(this.bgColor)'>
<td name="t1" height=10 width=10 bgColor="0000FF" onclick='f1(this.bgColor)'>
</tr>
</table>
<p align=center>
<form name="fo1">
<input type=text name=t1>
<input type=button name=b1 value="Change to white" onclick='f2()'>
</form>
</body>
</html>

<a href="http://moisrex.r98.ir">moisrex.r98.ir</a>

نظرات 0 + ارسال نظر
برای نمایش آواتار خود در این وبلاگ در سایت Gravatar.com ثبت نام کنید. (راهنما)
ایمیل شما بعد از ثبت نمایش داده نخواهد شد