做一个酷酷的在线编辑器(二)
发表于:2007-06-30来源:作者:点击数:
标签:
selcolor.htm(颜色拾取文件) ------------------------------------------------------------ !--TOOLBAR_START--!--TOOLBAR_EXEMPT--!--TOOLBAR_END-- !-- Copyright 2000 Microsoft Corporation. All rights reserved. -- HTML HEAD TITLESelect Color/TITL
selcolor.htm(颜色拾取文件)
------------------------------------------------------------
<!--TOOLBAR_START--><!--TOOLBAR_EXEMPT--><!--TOOLBAR_END-->
<!-- Copyright 2000 Microsoft Corporation. All rights reserved. -->
<HTML>
<HEAD>
<TITLE>Select Color</TITLE>
<STYLE TYPE="text/css">
BODY {margin-left:10; font-family:Verdana; font-size:12; background:menu}
BUTTON {width:5em}
P {text-align:center}
TABLE {cursor:hand}
</STYLE>
<SCRIPT LANGUAGE=
JavaScript FOR=ColorTable EVENT=onclick>
<!--
SelColor.value = event.srcElement.title;
// -->
</SCRIPT>
<SCRIPT LANGUAGE=JavaScript FOR=ColorTable EVENT=onmouseover>
<!--
text = event.srcElement.title;
if ( text != event.srcElement.bgColor )
text += " (" + event.srcElement.bgColor + ")";
RGB.innerText = text;
// -->
</SCRIPT>
<SCRIPT LANGUAGE=JavaScript FOR=ColorTable EVENT=onmouseout>
<!--
RGB.innerText = " ";
// -->
</SCRIPT>
<SCRIPT LANGUAGE=JavaScript FOR=Ok EVENT=onclick>
<!--
window.returnValue = SelColor.value;
window.close();
// -->
</SCRIPT>
</HEAD>
<!-- Copyright 2000 Microsoft Corporation. All rights reserved. -->
<BODY onload="SelColor.focus()">
<DIV> </DIV>
<P>
<TABLE ID=ColorTable
BORDER=1
BORDERCOLOR=SILVER
BORDERCOLORLIGHT=WHITE
BORDERCOLORDARK=BLACK
CELLSPACING=0
CELLPADDING=0>
<TR>
<
TD BGCOLOR=aliceblue TITLE=aliceblue>
<TD BGCOLOR=
antiquewhite TITLE=antiquewhite>
<TD BGCOLOR=aqua TITLE=aqua>
<TD BGCOLOR=aquamarine TITLE=aquamarine>
<TD BGCOLOR=azure TITLE=azure>
<TD BGCOLOR=beige TITLE=beige>
<TD BGCOLOR=bisque TITLE=bisque>
<TD BGCOLOR=black TITLE=black>
<TD BGCOLOR=blanched
almond TITLE=blanchedalmond>
<TD BGCOLOR=blue TITLE=blue>
<TD BGCOLOR=blueviolet TITLE=blueviolet>
<TD BGCOLOR=brown TITLE=brown>
<TD BGCOLOR=burlywood TITLE=burlywood>
<TD BGCOLOR=cadetblue TITLE=cadetblue>
<TD BGCOLOR=chartreuse TITLE=chartreuse>
<TD BGCOLOR=chocolate TITLE=chocolate>
<TR>
<TD BGCOLOR=coral TITLE=coral>
<TD BGCOLOR=cornflower TITLE=cornflower>
<TD BGCOLOR=corn
silk TITLE=cornsilk>
<TD BGCOLOR=crimson TITLE=crimson>
<TD BGCOLOR=cyan TITLE=cyan>
<TD BGCOLOR=darkblue TITLE=darkblue>
<TD BGCOLOR=darkcyan TITLE=darkcyan>
<TD BGCOLOR=darkgoldenrod TITLE=darkgoldenrod>
<TD BGCOLOR=darkgray TITLE=darkgray>
<TD BGCOLOR=darkgreen TITLE=darkgreen>
<TD BGCOLOR=darkkhaki TITLE=darkkhaki>
<TD BGCOLOR=darkmagenta TITLE=darkmagenta>
<TD BGCOLOR=darkolivegreen TITLE=darkolivegreen>
<TD BGCOLOR=darkorange TITLE=darkorange>
<TD BGCOLOR=darkorchid TITLE=darkorchid>
<TD BGCOLOR=darkred TITLE=darkred>
<TR>
<TD BGCOLOR=darksalmon TITLE=darksalmon>
<TD BGCOLOR=darkseagreen TITLE=darkseagreen>
<TD BGCOLOR=darkslateblue TITLE=darkslateblue>
<TD BGCOLOR=darkslategray TITLE=darkslategray>
<TD BGCOLOR=darkturquoise TITLE=darkturquoise>
<TD BGCOLOR=darkviolet TITLE=darkviolet>
<TD BGCOLOR=deeppink TITLE=deeppink>
<TD BGCOLOR=deepskyblue TITLE=deepskyblue>
<TD BGCOLOR=dimgray TITLE=dimgray>
<TD BGCOLOR=dodgerblue TITLE=dodgerblue>
<TD BGCOLOR=firebrick TITLE=firebrick>
<TD BGCOLOR=floralwhite TITLE=floralwhite>
<TD BGCOLOR=forestgreen TITLE=forestgreen>
<TD BGCOLOR=fuchia TITLE=fuchia>
<TD BGCOLOR=gainsboro TITLE=gainsboro>
<TD BGCOLOR=ghostwhite TITLE=ghostwhite>
<TR>
<TD BGCOLOR=gold TITLE=gold>
<TD BGCOLOR=goldenrod TITLE=goldenrod>
<TD BGCOLOR=gray TITLE=gray>
<TD BGCOLOR=green TITLE=green>
<TD BGCOLOR=greenyellow TITLE=greenyellow>
<TD BGCOLOR=honeydew TITLE=honeydew>
<TD BGCOLOR=hotpink TITLE=hotpink>
<TD BGCOLOR=indianred TITLE=indianred>
<TD BGCOLOR=indigo TITLE=indigo>
<TD BGCOLOR=ivory TITLE=ivory>
<TD BGCOLOR=khaki TITLE=khaki>
<TD BGCOLOR=lavender TITLE=lavender>
<TD BGCOLOR=lavenderblush TITLE=lavenderblush>
<TD BGCOLOR=lawngreen TITLE=lawngreen>
<TD BGCOLOR=lemonchiffon TITLE=lemonchiffon>
<TD BGCOLOR=lightblue TITLE=lightblue>
<TR>
<TD BGCOLOR=lightcoral TITLE=lightcoral>
<TD BGCOLOR=lightcyan TITLE=lightcyan>
<TD BGCOLOR=lightgoldenrodyellow TITLE=lightgoldenrodyellow>
<TD BGCOLOR=lightgreen TITLE=lightgreen>
<TD BGCOLOR=lightgrey TITLE=lightgrey>
<TD BGCOLOR=lightpink TITLE=lightpink>
<TD BGCOLOR=lightsalmon TITLE=lightsalmon>
<TD BGCOLOR=lightseagreen TITLE=lightseagreen>
<TD BGCOLOR=lightskyblue TITLE=lightskyblue>
<TD BGCOLOR=lightslategray TITLE=lightslategray>
<TD BGCOLOR=lightsteelblue TITLE=lightsteelblue>
<TD BGCOLOR=lightyellow TITLE=lightyellow>
<TD BGCOLOR=lime TITLE=lime>
<TD BGCOLOR=limegreen TITLE=limegreen>
<TD BGCOLOR=linen TITLE=linen>
<TD BGCOLOR=magenta TITLE=magenta>
<TR>
<TD BGCOLOR=maroon TITLE=maroon>
<TD BGCOLOR=mediumaquamarine TITLE=mediumaquamarine>
<TD BGCOLOR=mediumblue TITLE=mediumblue>
<TD BGCOLOR=mediumorchid TITLE=mediumorchid>
<TD BGCOLOR=mediumpurple TITLE=mediumpurple>
<TD BGCOLOR=mediumseagreen TITLE=mediumseagreen>
<TD BGCOLOR=mediumslateblue TITLE=mediumslateblue>
<TD BGCOLOR=mediumspringgreen TITLE=mediumspringgreen>
<TD BGCOLOR=mediumturquoise TITLE=mediumturquoise>
<TD BGCOLOR=mediumvioletred TITLE=mediumvioletred>
<TD BGCOLOR=midnightblue TITLE=midnightblue>
<TD BGCOLOR=mintcream TITLE=mintcream>
<TD BGCOLOR=mistyrose TITLE=mistyrose>
<TD BGCOLOR=mo
clearcase/" target="_blank" >ccasin TITLE=moccasin>
<TD BGCOLOR=navajowhite TITLE=navajowhite>
<TD BGCOLOR=navy TITLE=navy>
<TR>
<TD BGCOLOR=oldlace TITLE=oldlace>
<TD BGCOLOR=olive TITLE=olive>
<TD BGCOLOR=olivedrab TITLE=olivedrab>
<TD BGCOLOR=orange TITLE=orange>
<TD BGCOLOR=orangered TITLE=orangered>
<TD BGCOLOR=orchid TITLE=orchid>
<TD BGCOLOR=palegoldenrod TITLE=palegoldenrod>
<TD BGCOLOR=palegreen TITLE=palegreen>
<TD BGCOLOR=paleturquoise TITLE=paleturquoise>
<TD BGCOLOR=palevioletred TITLE=palevioletred>
<TD BGCOLOR=papayawhip TITLE=papayawhip>
<TD BGCOLOR=peachpuff TITLE=peachpuff>
<TD BGCOLOR=peru TITLE=peru>
<TD BGCOLOR=pink TITLE=pink>
<TD BGCOLOR=plum TITLE=plum>
<TD BGCOLOR=powderblue TITLE=powderblue>
<TR>
<TD BGCOLOR=purple TITLE=purple>
<TD BGCOLOR=red TITLE=red>
<TD BGCOLOR=rosybrown TITLE=rosybrown>
<TD BGCOLOR=royalblue TITLE=royalblue>
<TD BGCOLOR=saddlebrown TITLE=saddlebrown>
<TD BGCOLOR=salmon TITLE=salmon>
<TD BGCOLOR=sandybrown TITLE=sandybrown>
<TD BGCOLOR=seagreen TITLE=seagreen>
<TD BGCOLOR=seashell TITLE=seashell>
<TD BGCOLOR=sienna TITLE=sienna>
<TD BGCOLOR=silver TITLE=silver>
<TD BGCOLOR=skyblue TITLE=skyblue>
<TD BGCOLOR=slateblue TITLE=slateblue>
<TD BGCOLOR=slategray TITLE=slategray>
<TD BGCOLOR=snow TITLE=snow>
<TD BGCOLOR=springgreen TITLE=springgreen>
<TR>
<TD BGCOLOR=steelblue TITLE=steelblue>
<TD BGCOLOR=tan TITLE=tan>
<TD BGCOLOR=teal TITLE=teal>
<TD BGCOLOR=thistle TITLE=thistle>
<TD BGCOLOR=tomato TITLE=tomato>
<TD BGCOLOR=turquoise TITLE=turquoise>
<TD BGCOLOR=violet TITLE=violet>
<TD BGCOLOR=wheat TITLE=wheat>
<TD BGCOLOR=white TITLE=white>
<TD BGCOLOR=whitesmoke TITLE=whitesmoke>
<TD BGCOLOR=yellow TITLE=yellow>
<TD BGCOLOR=yellowgreen TITLE=yellowgreen>
</TABLE>
<P>
<LABEL FOR=SelColor>Color:</LABEL>
<INPUT TYPE=TEXT SIZE=20 ID=SelColor>
<BR>
<SPAN ID=RGB> </SPAN>
<P>
<BUTTON ID=Ok TYPE=SUB
MIT>OK</BUTTON>
<BUTTON ONCLICK="window.close();">Cancel</BUTTON>
</BODY>
</HTML>
原文转自:http://www.ltesting.net