会员中心
加入收藏
蓝
绿
黄
首 页
教育资讯
在线教学
物理专题
视频课件
教学图片
综合实践
学生档案
关于本站
下载中心
影音专区
首 页
-
网页特效
-
常用特效
颜色代码
[日期:2006-12-1 14:24:54]
[浏览指数:2708]
<HTML><HEAD><TITLE>查颜色代码</TITLE> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <META content="MSHTML 6.00.2800.1106" name=GENERATOR> <META content="Microsoft FrontPage 4.0" name=GENERATOR> <META content=FrontPage.Editor.Document name=ProgId> <SCRIPT language=JavaScript> <!-- annie addary = new Array(); // ︹ addary[0] = new Array(0,1,0); // 厚︹ addary[1] = new Array(-1,0,0); // 厚︹ addary[2] = new Array(0,0,1); // 厚︹ 屡︹ addary[3] = new Array(0,-1,0); // 屡︹ addary[4] = new Array(1,0,0); // ︹ 屡︹ addary[5] = new Array(0,0,-1); // ︹ addary[6] = new Array(255,1,1); clrary = new Array(360); for(i = 0; i < 6; i++) for(j = 0; j < 60; j++) { clrary[60 * i + j] = new Array(3); for(k = 0; k < 3; k++) { clrary[60 * i + j][k] = addary[6][k]; addary[6][k] += (addary[i][k] * 4); } } function capture() { if(document.layers) { layobj = document.layers['wheel']; layobj.document.captureEvents(Event.MOUSEMOVE); layobj.document.onmousemove = moved; } else { layobj = document.all["wheel"]; layobj.onmousemove = moved; } } function moved(e) { y = 4 * ((document.layers)?e.layerX:event.offsetX); x = 4 * ((document.layers)?e.layerY:event.offsetY); sx = x - 512; sy = y - 512; qx = (sx < 0)?0:1; qy = (sy < 0)?0:1; q = 2 * qy + qx; quad = new Array(-180,360,180,0); xa = Math.abs(sx); ya = Math.abs(sy); d = ya * 45 / xa; if(ya > xa) d = 90 - (xa * 45 / ya); deg = Math.floor(Math.abs(quad[q] - d)); n = 0; sx = Math.abs(x - 512); sy = Math.abs(y - 512); r = Math.sqrt((sx * sx) + (sy * sy)); if(x == 512 & y == 512) { c = "000000"; } else { for(i = 0; i < 3; i++) { r2 = clrary[deg][i] * r / 256; if(r > 256) r2 += Math.floor(r - 256); if(r2 > 255) r2 = 255; n = 256 * n + Math.floor(r2); } c = n.toString(16); while(c.length < 6) c = "0" + c; } if(document.layers) { document.layers["wheel"].document.f.t.value = "#" + c; document.layers["wheel"].bgColor = "#" + c; } else { document.all["wheel"].document.f.t.value = "#" + c; document.all["wheel"].style.backgroundColor = "#" + c; } return false; } // annie--> </SCRIPT> <META content="blueprnt 011, default" name="Microsoft Theme"> </HEAD> <BODY text=#003399 vlink=#9900ff alink=#000066 link=#3366ff bgcolor=#ffffff background=file:///D:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/FrontPageTempDir/mstheme/blueprnt/blutextb.gif onload=capture()> <!--mstheme--><font face="宋体"> <DIV id=wheel style="left: 220; visibility: visible; position: absolute; top: 90; width: 523; height: 317"> <div align="center"> <center><!--mstheme--></font> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD><!--mstheme--><font face="宋体"><IMG height=256 src="up/js/200612152235845.jpg" width=256 border=0> <!--mstheme--></font> </TD></TR> <TR> <TD align=middle><!--mstheme--><font face="宋体"><BR> <FORM name=f><INPUT size=27 name=t> </FORM><!--mstheme--></font></TD></TR></TBODY></TABLE><!--mstheme--><font face="宋体"></center> </div> </DIV> <CENTER> <DIV style="FONT-SIZE: 36pt; FILTER: shadow(color= yellow, direction= 135); LEFT: 228px; WIDTH: 243px; COLOR: red; FONT-FAMILY: 夹发砰; POSITION: absolute; TOP: 18px; HEIGHT: 52px"></DIV> </CENTER> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <div align="center"> <center><!--mstheme--></font> <table border="0" cellpadding="2" cellspacing="1" width="68%" height="55"> <tr> <td width="100%" align="center" height="18"><!--mstheme--><font face="宋体">把鼠标放在图片上,就可显示出各种颜色的代码。<!--mstheme--></font></td> </tr> <tr> <td width="100%" align="center" height="25"><!--mstheme--><font face="宋体"> <p><a href="CheckColor.zip">下载</a><!--mstheme--></font></td> </tr> </table> <!--mstheme--><font face="宋体"></center> </div> <!--mstheme--></font></BODY></HTML>
特别说明:
文本框里含有up/js/***.js内容的请用查看按钮查看演示!
评论者:
Rita
I`m impressed! You`ve managed the almost iopmssible.
发表时间:2012-6-22 11:18:24 [来自: 217.70.191.188]
查看全部评论
字数:
≤255
点评:
邮箱:
姓名:
尊重网上道德,遵守中华人民共和国的各项有关法律法规
承担一切因您的行为而直接或间接导致的民事或刑事法律责任
本站管理人员有权保留或删除其管辖留言中的任意内容
本站有权在网站内转载或引用您的评论
参与本评论即表明您已经阅读并接受上述条款
联系我们
|
网站建设
|
设计专栏
|
相册图片
|
网页特效
|
广告合作
|
网站地图
|
友情连接
|
酷站推荐
|
后台管理
|
版权所有©
188设计工作室
站长QQ:35888882
电话:020-88459976 Email:
info@188design.com
本站由 祝声彦 设计与维护