网页配色器

<html>
<head>
<title>BackColor Setting</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style>
.theme {
    width:9;
    height:9;
    margin:0px 2px;
    cursor:hand;
    border:1px solid #CCCCCC;
}
body {
    font-size: 12px;
    background-color: #1C6778;
    margin: 0px;
}
</style>
<script>
function cc(setcolor){
document.body.style.filter='blendTrans(duration=0.5)';
document.body.filters[0].apply();
for(i=0;i<document.styleSheets[0].rules.length;i++) {
        with(document.styleSheets[0].rules[i]) {
if (selectorText.toLowerCase().replace(/[^/.]*/./i,'')=='body'){
        style.backgroundColor=setcolor;}
            }
        }
document.body.filters[0].play();
}
</script>
</head>

<body>
<p></p>
<table height="13" border="0" cellpadding="0" cellspacing="1">
  <tr>
    <td οnclick="cc(this.style.backgroundColor)" class="theme" style="background-color:#FFFFFF;"></td>
    <td οnclick="cc(this.style.backgroundColor)" class="theme" style="background-color:#0067c2;"></td>
    <td οnclick="cc(this.style.backgroundColor)" class="theme" style="background-color:#990000;"></td>
    <td οnclick="cc(this.style.backgroundColor)" class="theme" style="background-color:#287030;"></td>
    <td οnclick="cc(this.style.backgroundColor)" class="theme" style="background-color:#C72471;"></td>
    <td οnclick="cc(this.style.backgroundColor)" class="theme" style="background-color:#7A1645;"></td>
    <td οnclick="cc(this.style.backgroundColor)" class="theme" style="background-color:#616378;"></td>
    <td οnclick="cc(this.style.backgroundColor)" class="theme" style="background-color:#7A474E;"></td>
    <td οnclick="cc(this.style.backgroundColor)" class="theme" style="background-color:#AD618F;"></td>
    <td οnclick="cc(this.style.backgroundColor)" class="theme" style="background-color:#6E6394;"></td>
    <td οnclick="cc(this.style.backgroundColor)" class="theme" style="background-color:#9CCFE9;"></td>
    <td οnclick="cc(this.style.backgroundColor)" class="theme" style="background-color:#688A9C;"></td>
    <td οnclick="cc(this.style.backgroundColor)" class="theme" style="background-color:#E8CF9B;"></td>
    <td οnclick="cc(this.style.backgroundColor)" class="theme" style="background-color:#9C8268;"></td>
    <td οnclick="cc(this.style.backgroundColor)" class="theme" style="background-color:#1C6778;"></td>
    <td οnclick="cc(this.style.backgroundColor)" class="theme" style="background-color:#2EA9C5;"></td>
    <td οnclick="cc(this.style.backgroundColor)" class="theme" style="background-color:#AD1D71;"></td>
    <td οnclick="cc(this.style.backgroundColor)" class="theme" style="background-color:#FA8EA9;"></td>
    <td οnclick="cc(this.style.backgroundColor)" class="theme" style="background-color:#488798;"></td>
    <td οnclick="cc(this.style.backgroundColor)" class="theme" style="background-color:#482A15;"></td>
    <td οnclick="cc(this.style.backgroundColor)" class="theme" style="background-color:#4888CA;"></td>
    <td οnclick="cc(this.style.backgroundColor)" class="theme" style="background-color:#947682;"></td>
    <td οnclick="cc(this.style.backgroundColor)" class="theme" style="background-color:#51403C;"></td>
    <td οnclick="cc(this.style.backgroundColor)" class="theme" style="background-color:#BF5A00;"></td>
    <td οnclick="cc(this.style.backgroundColor)" class="theme" style="background-color:#313C63;"></td>
    <td οnclick="cc(this.style.backgroundColor)" class="theme" style="background-color:#C8707F;"></td>
    <td οnclick="cc(this.style.backgroundColor)" class="theme" style="background-color:#C8ABC4;"></td>
  </tr>
</table>
</body>
</html>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值