- 浏览: 336934 次
- 性别:
- 来自: 北京
文章分类
最新评论
-
y_715:
document.getElementById("e ...
JSTL EC TABLE extremeTable 学习 -
wangyj0898:
学习了。。。
display table 标签用法 -
hejiajie2008:
没有图啊
图解myeclipse把maven普通java项目变成web项目的全程操作 -
zhangyu_2100:
[align=center][/align][color=br ...
request.getRealPath()的替代方法 -
senhui19:
LZ写的真不错呀,现在开发中都经常是用DetachedCrit ...
Hibernate的Criteria用法总结
1.数组联动js.html
<html>
<head>
<title>List</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script LANGUAGE="javascript">
<!--
var onecount;
onecount=0;
subcat = new Array();
subcat[0] = new Array("徐汇区","01","001");
subcat[1] = new Array("嘉定区","01","002");
subcat[2] = new Array("黄浦区","01","003");
subcat[3] = new Array("南昌市","02","004");
subcat[4] = new Array("九江市","02","005");
subcat[5] = new Array("上饶市","02","006");
onecount=6;
function changelocation(locationid)
{
document.myform.smalllocation.length = 0;
var locationid=locationid;
var i;
document.myform.smalllocation.options[0] = new Option('====所有地区====','');
for (i=0;i < onecount; i++)
{
if (subcat[i][1] == locationid)
{
document.myform.smalllocation.options[document.myform.smalllocation.length]
= new Option(subcat[i][0], subcat[i][2]);
}
}
}
//-->
</script>
</head>
<body>
<form name="myform" method="post">
<select name="biglocation"
onChange="changelocation(document.myform.biglocation.options[document.myform.biglocation.selectedIndex].value)">
<option value="01" selected>上海</option>
<option value="02">江西</option>
</select>
<select name="smalllocation">
<option selected value="">==所有地区==</option>
</select>
</form>
<script LANGUAGE="javascript">
<!--
changelocation(document.myform.biglocation.options[document.myform.biglocation.selectedIndex].value);
//-->
</script>
</body>
</html>
2.下拉选择改变textarea框内容.htm
<html>
<head>
<title>下拉选择改变textarea框内容</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="JavaScript">
<!--
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_showHideLayers() { //v3.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
obj.visibility=v; }
}
//-->
</script>
<style type="text/css">
<!--
.css1 { font-size: 10pt; font-weight: bolder; color: #000000; text-decoration: none}
.css2 { font-size: 12pt; font-weight: bolder; color: #000000; text-decoration: none}
.css3 { font-size: 9pt; font-weight: lighter; color: #000000}
.css4 { font-size: 10pt; font-weight: bold; color: #000000}
-->
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000" topmargin="30" marginheight="30">
<script language="javascript">
function SetDownMsg(s) {
var strMode, strMsg;
strMode = s.options[s.selectedIndex].value;
if (strMode == "DBUpdate") strMsg = "可以将代码直接复制到需要的位置以确定显示位置。方法是:在视图编缉状态下将鼠标移到所需位置 点击,然后切换到HTML编缉状态,将代码粘贴到光标所在位置。";
if (strMode == "bbsUpdate") strMsg = "要注意文字中不能有空格。";
if (strMode == "bbsAdjust") strMsg = "欢迎光临七色风网页家园";
if (strMode == "Other") strMsg = "请把你的问题来信告诉我们。!";
if (s.selectedIndex != 0) document.form1.DownMessage.value = strMsg;
return 1;
}
</script><div id="Layer1" style="position:absolute; left:594px; top:30px; width:99px; height:391px; z-index:1; visibility: hidden">
<table width="100%" border="3" bordercolor="#E28EEE">
<tr>
<td height="35" bgcolor="#FCE3FD" align="center" class="css1">使用提示</td>
</tr>
<tr>
<td height="344" bgcolor="#FFFFFF" class="css4"> </td>
</tr>
</table>
</div>
<table width="415" border="3" bordercolor="#E28EEE" cellspacing="2" align="center">
<tr>
<td height="69" width="415"><a href="http://www.7wind.com/" target="_blank"><img src="../../sxym/image/05sx.gif" width="400" height="66" border="0"></a></td>
</tr>
<tr>
<td bgcolor="#E28EEE" align="center" height="1"><font color="#000000" size="3"><img src="../image/sam.gif" width="1" height="1"></font></td>
</tr>
<tr>
<td>
<table width="84%" border="0" align="center" cellspacing="0" cellpadding="0">
<tr>
<td align="center" height="5"><img src="../image/sam.gif" width="1" height="1"></td>
</tr>
<tr>
<td align="center" height="30" class="css2"> 下拉选择改变textarea框内容</td>
</tr>
<tr>
<td align="center" height="15">
<hr noshade>
</td>
</tr>
<tr>
<td height="30" align="center" valign="middle">
<p><span class="css3">演示效果:在下拉杠中选择看下面的文本框的变化</span></p>
<p><select name="StopMode" onchange="SetDownMsg(this)">
<option value="nouse">请选择...</option>
<option value="DBUpdate">使用提示</option>
<option value="bbsUpdate">使用注意</option>
<option value="bbsAdjust">欢迎光临</option>
<option value="Other">其他...</option>
</select></p>
</td>
</tr>
<tr>
<td height="30" align="center" valign="middle"><span class="css3">代码提示:下面的内容根据下拉框的不同而不同</span></td>
</tr>
<tr>
<td align="center">
<form name="form1" method="post" action="">
<textarea name="DownMessage" wrap="soft" cols="35" rows="9" style="BACKGROUND-COLOR: #FCE3FD">将下面的代码复制到〈BODY〉区
<script language="javascript">
function SetDownMsg(s) {
var strMode, strMsg;
strMode = s.options[s.selectedIndex].value;
if (strMode == "DBUpdate") strMsg = "论坛正在升级数据库中……,请等待。";
if (strMode == "bbsUpdate") strMsg = "论坛正在升级中……,暂时关闭,请等待几分钟。";
if (strMode == "bbsAdjust") strMsg = "论坛正在调整中,暂时无法访问。";
if (strMode == "Other") strMsg = "论坛由于特殊原因暂时关闭,谢谢你的支持!";
if (s.selectedIndex != 0) document.form1.DownMessage.value = strMsg;
return 1;
}
</script>
<form action="admin.asp" method="post" name="form1">
<textarea cols="75" rows="10" name="DownMessage" wrap="soft"></textarea>
</form>
<center>预定模式:
<select name="StopMode" onchange="SetDownMsg(this)">
<option value="nouse">请选择...</option>
<option value="DBUpdate">数据库升级</option>
<option value="bbsUpdate">论坛升级中</option>
<option value="bbsAdjust">论坛调整中</option>
<option value="Other">其他原因...</option>
</select>
</textarea>
</form>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#FCE3FD" align="center" valign="middle" height="23"><span class="css1" onMouseOver="MM_showHideLayers('Layer1','','show')" onMouseOut="MM_showHideLayers('Layer1','','hide')">使用提示</span><font size="2"><b>
</b></font><a href="../wytx.htm" class="css1">返回目录</a></td>
</tr>
</table>
</body>
</html>
3.颜色表.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<p>在 HTML 页面中可以两种方式指定颜色──以颜色名称或者表示 RGB 颜色值的数字。一个 RGB 颜色值由三个两位十六进制数字组成,分别代表各自的颜色强度。</p>
<p>例如,颜色值 #FF0000 之所以被渲染为红色,是因为红色的值达到了最高值 FF (等于十进制的 255)。</p>
<p>当你使用 <a href="http://spaces.msn.com/objects/DOCTYPE.html"><u><font color="#0000ff">!DOCTYPE</font></u></a> 声明指定为标准兼容模式时,Microsoft<sup>?</sup> Internet Explorer 6 和以后版本将忽略不遵从样式表(CSS)级别 1 的样式表声明。根据 CSS 1,以十六进制 RGB 值指定的颜色必须带有前导“#”字符。像“FFFFFF”这样的值将被忽略,而不会被理解为“#FFFFFF”(即白色),但 Internet Explorer 的先前版本是这么理解的。这影响所有接受颜色值的属性。</p>
<div><b>注意</b> 尽管这些颜色名称可能不被其它浏览器使用,但 RGB 颜色值应该可以在不同浏览器间正确显示。如果想要为跨越不同浏览器工作的 Web 页指定颜色值,那么应该使用 RGB 颜色值。</div>
<p>下表列出了 Internet Explorer 4.0 支持的颜色。</p>
<table cellspacing=5 cellpadding=0 bgcolor=gray border=5>
<tbody>
<tr>
<td style="background:aliceblue" align=middle>aliceblue<br>(#F0F8FF)</td>
<td style="background:antiquewhite" align=middle>antiquewhite<br>(#FAEBD7)</td>
<td style="background:aqua" align=middle>aqua<br>(#00FFFF)</td>
<td style="background:aquamarine" align=middle>aquamarine<br>(#7FFFD4)</td></tr>
<tr>
<td style="background:azure" align=middle>azure<br>(#F0FFFF)</td>
<td style="background:beige" align=middle>beige<br>(#F5F5DC)</td>
<td style="background:bisque" align=middle>bisque<br>(#FFE4C4)</td>
<td style="background:black;color:white" align=middle>black<br>(#000000)</td></tr>
<tr>
<td style="background:blanchedalmond" align=middle>blanchedalmond<br>(#FFEBCD)</td>
<td style="background:#0000ff" align=middle>blue<br>(#0000FF)</td>
<td style="background:#8a2be2" align=middle>blueviolet<br>(#8A2BE2)</td>
<td style="background:brown" align=middle>brown<br>(#A52A2A)</td></tr>
<tr>
<td style="background:burlywood" align=middle>burlywood<br>(#DEB887)</td>
<td style="background:cadetblue" align=middle>cadetblue<br>(#5F9EA0)</td>
<td style="background:chartreuse" align=middle>chartreuse<br>(#7FFF00)</td>
<td style="background:chocolate" align=middle>chocolate<br>(#D2691E)</td></tr>
<tr>
<td style="background:coral" align=middle>coral<br>(#FF7F50)</td>
<td style="background:#6495ed" align=middle>cornflowerblue<br>(#6495ED)</td>
<td style="background:cornsilk" align=middle>cornsilk<br>(#FFF8DC)</td>
<td style="background:crimson" align=middle>crimson<br>(#DC143C)</td></tr>
<tr>
<td style="background:cyan" align=middle>cyan<br>(#00FFFF)</td>
<td style="background:darkblue;color:white" align=middle>darkblue<br>(#00008B)</td>
<td style="background:darkcyan" align=middle>darkcyan<br>(#008B8B)</td>
<td style="background:darkgoldenrod" align=middle>darkgoldenrod<br>(#B8860B)</td></tr>
<tr>
<td style="background:darkgray" align=middle>darkgray<br>(#A9A9A9)</td>
<td style="background:darkgreen" align=middle>darkgreen<br>(#006400)</td>
<td style="background:darkkhaki" align=middle>darkkhaki<br>(#BDB76B)</td>
<td style="background:darkmagenta" align=middle>darkmagenta<br>(#8B008B)</td></tr>
<tr>
<td style="background:darkolivegreen" align=middle>darkolivegreen<br>(#556B2F)</td>
<td style="background:darkorange" align=middle>darkorange<br>(#FF8C00)</td>
<td style="background:darkorchid" align=middle>darkorchid<br>(#9932CC)</td>
<td style="background:darkred" align=middle>darkred<br>(#8B0000)</td></tr>
<tr>
<td style="background:darksalmon" align=middle>darksalmon<br>(#E9967A)</td>
<td style="background:darkseagreen" align=middle>darkseagreen<br>(#8FBC8B)</td>
<td style="background:darkslateblue" align=middle>darkslateblue<br>(#483D8B)</td>
<td style="background:darkslategray" align=middle>darkslategray<br>(#2F4F4F)</td></tr>
<tr>
<td style="background:darkturquoise" align=middle>darkturquoise<br>(#00CED1)</td>
<td style="background:darkviolet" align=middle>darkviolet<br>(#9400D3)</td>
<td style="background:deeppink" align=middle>deeppink<br>(#FF1493)</td>
<td style="background:deepskyblue" align=middle>deepskyblue<br>(#00BFFF)</td></tr>
<tr>
<td style="background:dimgray" align=middle>dimgray<br>(#696969)</td>
<td style="background:dodgerblue" align=middle>dodgerblue<br>(#1E90FF)</td>
<td style="background:firebrick" align=middle>firebrick<br>(#B22222)</td>
<td style="background:floralwhite" align=middle>floralwhite<br>(#FFFAF0)</td></tr>
<tr>
<td style="background:forestgreen" align=middle>forestgreen<br>(#228B22)</td>
<td style="background:#ff00ff" align=middle>fuchsia<br>(#FF00FF)</td>
<td style="background:gainsboro" align=middle>gainsboro<br>(#DCDCDC)</td>
<td style="background:ghostwhite" align=middle>ghostwhite<br>(#F8F8FF)</td></tr>
<tr>
<td style="background:gold" align=middle>gold<br>(#FFD700)</td>
<td style="background:goldenrod" align=middle>goldenrod<br>(#DAA520)</td>
<td style="background:gray" align=middle>gray<br>(#808080)</td>
<td style="background:green" align=middle>green<br>(#008000)</td></tr>
<tr>
<td style="background:greenyellow" align=middle>greenyellow<br>(#ADFF2F)</td>
<td style="background:honeydew" align=middle>honeydew<br>(#F0FFF0)</td>
<td style="background:hotpink" align=middle>hotpink<br>(#FF69B4)</td>
<td style="background:indianred" align=middle>indianred<br>(#CD5C5C)</td></tr>
<tr>
<td style="background:indigo;color:white" align=middle>indigo<br>(#4B0082)</td>
<td style="background:ivory" align=middle>ivory<br>(#FFFFF0)</td>
<td style="background:khaki" align=middle>khaki<br>(#F0E68C)</td>
<td style="background:lavender" align=middle>lavender<br>(#E6E6FA)</td></tr>
<tr>
<td style="background:lavenderblush" align=middle>lavenderblush<br>(#FFF0F5)</td>
<td style="background:lawngreen" align=middle>lawngreen<br>(#7CFC00)</td>
<td style="background:lemonchiffon" align=middle>lemonchiffon<br>(#FFFACD)</td>
<td style="background:lightblue" align=middle>lightblue<br>(#ADD8E6)</td></tr>
<tr>
<td style="background:lightcoral" align=middle>lightcoral<br>(#F08080)</td>
<td style="background:lightcyan" align=middle>lightcyan<br>(#E0FFFF)</td>
<td style="background:lightgoldenrodyellow" align=middle>lightgoldenrodyellow<br>(#FAFAD2)</td>
<td style="background:lightgreen" align=middle>lightgreen<br>(#90EE90)</td></tr>
<tr>
<td style="background:lightgrey" align=middle>lightgrey<br>(#D3D3D3)</td>
<td style="background:lightpink" align=middle>lightpink<br>(#FFB6C1)</td>
<td style="background:lightsalmon" align=middle>lightsalmon<br>(#FFA07A)</td>
<td style="background:lightseagreen" align=middle>lightseagreen<br>(#20B2AA)</td></tr>
<tr>
<td style="background:lightskyblue" align=middle>lightskyblue<br>(#87CEFA)</td>
<td style="background:lightslategray" align=middle>lightslategray<br>(#778899)</td>
<td style="background:lightsteelblue" align=middle>lightsteelblue<br>(#B0C4DE)</td>
<td style="background:lightyellow" align=middle>lightyellow<br>(#FFFFE0)</td></tr>
<tr>
<td style="background:lime" align=middle>lime<br>(#00FF00)</td>
<td style="background:limegreen" align=middle>limegreen<br>(#32CD32)</td>
<td style="background:linen" align=middle>linen<br>(#FAF0E6)</td>
<td style="background:magenta" align=middle>magenta<br>(#FF00FF)</td></tr>
<tr>
<td style="background:maroon" align=middle>maroon<br>(#800000)</td>
<td style="background:mediumaquamarine" align=middle>mediumaquamarine<br>(#66CDAA)</td>
<td style="background:mediumblue;color:white" align=middle>mediumblue<br>(#0000CD)</td>
<td style="background:mediumorchid" align=middle>mediumorchid<br>(#BA55D3)</td></tr>
<tr>
<td style="background:mediumpurple" align=middle>mediumpurple<br>(#9370DB)</td>
<td style="background:mediumseagreen" align=middle>mediumseagreen<br>(#3CB371)</td>
<td style="background:mediumslateblue" align=middle>mediumslateblue<br>(#7B68EE)</td>
<td style="background:mediumspringgreen" align=middle>mediumspringgreen<br>(#00FA9A)</td></tr>
<tr>
<td style="background:mediumturquoise" align=middle>mediumturquoise<br>(#48D1CC)</td>
<td style="background:mediumvioletred" align=middle>mediumvioletred<br>(#C71585)</td>
<td style="background:midnightblue;color:white" align=middle>midnightblue<br>(#191970)</td>
<td style="background:mintcream" align=middle>mintcream<br>(#F5FFFA)</td></tr>
<tr>
<td style="background:mistyrose" align=middle>mistyrose<br>(#FFE4E1)</td>
<td style="background:moccasin" align=middle>moccasin<br>(#FFE4B5)</td>
<td style="background:navajowhite" align=middle>navajowhite<br>(#FFDEAD)</td>
<td style="background:navy;color:white" align=middle>navy<br>(#000080)</td></tr>
<tr>
<td style="background:oldlace" align=middle>oldlace<br>(#FDF5E6)</td>
<td style="background:olive" align=middle>olive<br>(#808000)</td>
<td style="background:olivedrab" align=middle>olivedrab<br>(#6B8E23)</td>
<td style="background:orange" align=middle>orange<br>(#FFA500)</td></tr>
<tr>
<td style="background:orangered" align=middle>orangered<br>(#FF4500)</td>
<td style="background:orchid" align=middle>orchid<br>(#DA70D6)</td>
<td style="background:palegoldenrod" align=middle>palegoldenrod<br>(#EEE8AA)</td>
<td style="background:palegreen" align=middle>palegreen<br>(#98FB98)</td></tr>
<tr>
<td style="background:paleturquoise" align=middle>paleturquoise<br>(#AFEEEE)</td>
<td style="background:palevioletred" align=middle>palevioletred<br>(#DB7093)</td>
<td style="background:papayawhip" align=middle>papayawhip<br>(#FFEFD5)</td>
<td style="background:peachpuff" align=middle>peachpuff<br>(#FFDAB9)</td></tr>
<tr>
<td style="background:peru" align=middle>peru<br>(#CD853F)</td>
<td style="background:pink" align=middle>pink<br>(#FFC0CB)</td>
<td style="background:plum" align=middle>plum<br>(#DDA0DD)</td>
<td style="background:powderblue" align=middle>powderblue<br>(#B0E0E6)</td></tr>
<tr>
<td style="background:purple" align=middle>purple<br>(#800080)</td>
<td style="background:red" align=middle>red<br>(#FF0000)</td>
<td style="background:rosybrown" align=middle>rosybrown<br>(#BC8F8F)</td>
<td style="background:royalblue" align=middle>royalblue<br>(#4169E1)</td></tr>
<tr>
<td style="background:saddlebrown" align=middle>saddlebrown<br>(#8B4513)</td>
<td style="background:salmon" align=middle>salmon<br>(#FA8072)</td>
<td style="background:sandybrown" align=middle>sandybrown<br>(#F4A460)</td>
<td style="background:seagreen" align=middle>seagreen<br>(#2E8B57)</td></tr>
<tr>
<td style="background:seashell" align=middle>seashell<br>(#FFF5EE)</td>
<td style="background:sienna" align=middle>sienna<br>(#A0522D)</td>
<td style="background:silver" align=middle>silver<br>(#C0C0C0)</td>
<td style="background:skyblue" align=middle>skyblue<br>(#87CEEB)</td></tr>
<tr>
<td style="background:slateblue" align=middle>slateblue<br>(#6A5ACD)</td>
<td style="background:slategray" align=middle>slategray<br>(#708090)</td>
<td style="background:snow" align=middle>snow<br>(#FFFAFA)</td>
<td style="background:springgreen" align=middle>springgreen<br>(#00FF7F)</td></tr>
<tr>
<td style="background:steelblue" align=middle>steelblue<br>(#4682B4)</td>
<td style="background:tan" align=middle>tan<br>(#D2B48C)</td>
<td style="background:teal" align=middle>teal<br>(#008080)</td>
<td style="background:thistle" align=middle>thistle<br>(#D8BFD8)</td></tr>
<tr>
<td style="background:tomato" align=middle>tomato<br>(#FF6347)</td>
<td style="background:turquoise" align=middle>turquoise<br>(#40E0D0)</td>
<td style="background:violet" align=middle>violet<br>(#EE82EE)</td>
<td style="background:wheat" align=middle>wheat<br>(#F5DEB3)</td></tr>
<tr>
<td style="background:white" align=middle>white<br>(#FFFFFF)</td>
<td style="background:whitesmoke" align=middle>whitesmoke<br>(#F5F5F5)</td>
<td style="background:yellow" align=middle>yellow<br>(#FFFF00)</td>
<td style="background:yellowgreen" align=middle>yellowgreen<br>(#9ACD32)</td></tr></tbody></table>
<h2><a></a>用户定义的系统颜色</h2>
<p>Microsoft<sup>?</sup> Windows<sup>?</sup> 维护着一组用于绘制用户界面不同部分的系统颜色。除了定义在颜色表中的颜色,在 Internet Explorer 4.0 中也可正常显示以下系统颜色指定为颜色值的 Web 页。</p>
<p>用户可以使用 Windows 控制面板设置用于将来 Windows 会话的系统颜色。下表演示了定义在控制面板中的颜色名称的对应情况。</p>
<div><b>注意</b> 不对应任何控制面板的颜色只可使用 Windows API 编程设置,用户无法定义。</div>
<table cellspacing=5 cellpadding=5 bgcolor=gray border=5>
<tbody>
<tr>
<td style="background:activeborder" align=middle>activeborder</td>
<td style="background:activecaption;color:captiontext" align=middle>activecaption</td>
<td style="background:appworkspace" align=middle>appworkspace</td>
<td style="background:background" align=middle>background</td></tr>
<tr>
<td style="background:buttonface" align=middle>buttonface</td>
<td style="background:buttonhighlight" align=middle>buttonhighlight</td>
<td style="background:buttonshadow" align=middle>buttonshadow</td>
<td style="background:buttontext;color:buttonface" align=middle>buttontext</td></tr>
<tr>
<td style="background:captiontext" align=middle>captiontext</td>
<td style="background:graytext" align=middle>graytext</td>
<td style="background:highlight;color:highlighttext" align=middle>highlight</td>
<td style="background:highlighttext" align=middle>highlighttext</td></tr>
<tr>
<td style="background:inactiveborder" align=middle>inactiveborder</td>
<td style="background:inactivecaption;color:captiontext" align=middle>inactivecaption</td>
<td style="background:inactivecaptiontext" align=middle>inactivecaptiontext</td>
<td style="background:infobackground" align=middle>infobackground</td></tr>
<tr>
<td style="background:infotext;color:infobackground" align=middle>infotext</td>
<td style="background:menu" align=middle>menu</td>
<td style="background:menutext;color:menu" align=middle>menutext</td>
<td style="background:scrollbar" align=middle>scrollbar</td></tr>
<tr>
<td style="background:threeddarkshadow;color:buttonface" align=middle>threeddarkshadow</td>
<td style="background:buttonface" align=middle>threedface</td>
<td style="background:buttonhighlight" align=middle>threedhighlight</td>
<td style="background:threedlightshadow" align=middle>threedlightshadow</td></tr>
<tr>
<td style="background:buttonshadow" align=middle>threedshadow</td>
<td style="background:window" align=middle>window</td>
<td style="background:windowframe;color:window" align=middle>windowframe</td>
<td style="background:windowtext;color:window" align=middle>windowtext</td></tr></tbody></table>
</body>
</html>
<html>
<head>
<title>List</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script LANGUAGE="javascript">
<!--
var onecount;
onecount=0;
subcat = new Array();
subcat[0] = new Array("徐汇区","01","001");
subcat[1] = new Array("嘉定区","01","002");
subcat[2] = new Array("黄浦区","01","003");
subcat[3] = new Array("南昌市","02","004");
subcat[4] = new Array("九江市","02","005");
subcat[5] = new Array("上饶市","02","006");
onecount=6;
function changelocation(locationid)
{
document.myform.smalllocation.length = 0;
var locationid=locationid;
var i;
document.myform.smalllocation.options[0] = new Option('====所有地区====','');
for (i=0;i < onecount; i++)
{
if (subcat[i][1] == locationid)
{
document.myform.smalllocation.options[document.myform.smalllocation.length]
= new Option(subcat[i][0], subcat[i][2]);
}
}
}
//-->
</script>
</head>
<body>
<form name="myform" method="post">
<select name="biglocation"
onChange="changelocation(document.myform.biglocation.options[document.myform.biglocation.selectedIndex].value)">
<option value="01" selected>上海</option>
<option value="02">江西</option>
</select>
<select name="smalllocation">
<option selected value="">==所有地区==</option>
</select>
</form>
<script LANGUAGE="javascript">
<!--
changelocation(document.myform.biglocation.options[document.myform.biglocation.selectedIndex].value);
//-->
</script>
</body>
</html>
2.下拉选择改变textarea框内容.htm
<html>
<head>
<title>下拉选择改变textarea框内容</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="JavaScript">
<!--
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_showHideLayers() { //v3.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
obj.visibility=v; }
}
//-->
</script>
<style type="text/css">
<!--
.css1 { font-size: 10pt; font-weight: bolder; color: #000000; text-decoration: none}
.css2 { font-size: 12pt; font-weight: bolder; color: #000000; text-decoration: none}
.css3 { font-size: 9pt; font-weight: lighter; color: #000000}
.css4 { font-size: 10pt; font-weight: bold; color: #000000}
-->
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000" topmargin="30" marginheight="30">
<script language="javascript">
function SetDownMsg(s) {
var strMode, strMsg;
strMode = s.options[s.selectedIndex].value;
if (strMode == "DBUpdate") strMsg = "可以将代码直接复制到需要的位置以确定显示位置。方法是:在视图编缉状态下将鼠标移到所需位置 点击,然后切换到HTML编缉状态,将代码粘贴到光标所在位置。";
if (strMode == "bbsUpdate") strMsg = "要注意文字中不能有空格。";
if (strMode == "bbsAdjust") strMsg = "欢迎光临七色风网页家园";
if (strMode == "Other") strMsg = "请把你的问题来信告诉我们。!";
if (s.selectedIndex != 0) document.form1.DownMessage.value = strMsg;
return 1;
}
</script><div id="Layer1" style="position:absolute; left:594px; top:30px; width:99px; height:391px; z-index:1; visibility: hidden">
<table width="100%" border="3" bordercolor="#E28EEE">
<tr>
<td height="35" bgcolor="#FCE3FD" align="center" class="css1">使用提示</td>
</tr>
<tr>
<td height="344" bgcolor="#FFFFFF" class="css4"> </td>
</tr>
</table>
</div>
<table width="415" border="3" bordercolor="#E28EEE" cellspacing="2" align="center">
<tr>
<td height="69" width="415"><a href="http://www.7wind.com/" target="_blank"><img src="../../sxym/image/05sx.gif" width="400" height="66" border="0"></a></td>
</tr>
<tr>
<td bgcolor="#E28EEE" align="center" height="1"><font color="#000000" size="3"><img src="../image/sam.gif" width="1" height="1"></font></td>
</tr>
<tr>
<td>
<table width="84%" border="0" align="center" cellspacing="0" cellpadding="0">
<tr>
<td align="center" height="5"><img src="../image/sam.gif" width="1" height="1"></td>
</tr>
<tr>
<td align="center" height="30" class="css2"> 下拉选择改变textarea框内容</td>
</tr>
<tr>
<td align="center" height="15">
<hr noshade>
</td>
</tr>
<tr>
<td height="30" align="center" valign="middle">
<p><span class="css3">演示效果:在下拉杠中选择看下面的文本框的变化</span></p>
<p><select name="StopMode" onchange="SetDownMsg(this)">
<option value="nouse">请选择...</option>
<option value="DBUpdate">使用提示</option>
<option value="bbsUpdate">使用注意</option>
<option value="bbsAdjust">欢迎光临</option>
<option value="Other">其他...</option>
</select></p>
</td>
</tr>
<tr>
<td height="30" align="center" valign="middle"><span class="css3">代码提示:下面的内容根据下拉框的不同而不同</span></td>
</tr>
<tr>
<td align="center">
<form name="form1" method="post" action="">
<textarea name="DownMessage" wrap="soft" cols="35" rows="9" style="BACKGROUND-COLOR: #FCE3FD">将下面的代码复制到〈BODY〉区
<script language="javascript">
function SetDownMsg(s) {
var strMode, strMsg;
strMode = s.options[s.selectedIndex].value;
if (strMode == "DBUpdate") strMsg = "论坛正在升级数据库中……,请等待。";
if (strMode == "bbsUpdate") strMsg = "论坛正在升级中……,暂时关闭,请等待几分钟。";
if (strMode == "bbsAdjust") strMsg = "论坛正在调整中,暂时无法访问。";
if (strMode == "Other") strMsg = "论坛由于特殊原因暂时关闭,谢谢你的支持!";
if (s.selectedIndex != 0) document.form1.DownMessage.value = strMsg;
return 1;
}
</script>
<form action="admin.asp" method="post" name="form1">
<textarea cols="75" rows="10" name="DownMessage" wrap="soft"></textarea>
</form>
<center>预定模式:
<select name="StopMode" onchange="SetDownMsg(this)">
<option value="nouse">请选择...</option>
<option value="DBUpdate">数据库升级</option>
<option value="bbsUpdate">论坛升级中</option>
<option value="bbsAdjust">论坛调整中</option>
<option value="Other">其他原因...</option>
</select>
</textarea>
</form>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#FCE3FD" align="center" valign="middle" height="23"><span class="css1" onMouseOver="MM_showHideLayers('Layer1','','show')" onMouseOut="MM_showHideLayers('Layer1','','hide')">使用提示</span><font size="2"><b>
</b></font><a href="../wytx.htm" class="css1">返回目录</a></td>
</tr>
</table>
</body>
</html>
3.颜色表.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<p>在 HTML 页面中可以两种方式指定颜色──以颜色名称或者表示 RGB 颜色值的数字。一个 RGB 颜色值由三个两位十六进制数字组成,分别代表各自的颜色强度。</p>
<p>例如,颜色值 #FF0000 之所以被渲染为红色,是因为红色的值达到了最高值 FF (等于十进制的 255)。</p>
<p>当你使用 <a href="http://spaces.msn.com/objects/DOCTYPE.html"><u><font color="#0000ff">!DOCTYPE</font></u></a> 声明指定为标准兼容模式时,Microsoft<sup>?</sup> Internet Explorer 6 和以后版本将忽略不遵从样式表(CSS)级别 1 的样式表声明。根据 CSS 1,以十六进制 RGB 值指定的颜色必须带有前导“#”字符。像“FFFFFF”这样的值将被忽略,而不会被理解为“#FFFFFF”(即白色),但 Internet Explorer 的先前版本是这么理解的。这影响所有接受颜色值的属性。</p>
<div><b>注意</b> 尽管这些颜色名称可能不被其它浏览器使用,但 RGB 颜色值应该可以在不同浏览器间正确显示。如果想要为跨越不同浏览器工作的 Web 页指定颜色值,那么应该使用 RGB 颜色值。</div>
<p>下表列出了 Internet Explorer 4.0 支持的颜色。</p>
<table cellspacing=5 cellpadding=0 bgcolor=gray border=5>
<tbody>
<tr>
<td style="background:aliceblue" align=middle>aliceblue<br>(#F0F8FF)</td>
<td style="background:antiquewhite" align=middle>antiquewhite<br>(#FAEBD7)</td>
<td style="background:aqua" align=middle>aqua<br>(#00FFFF)</td>
<td style="background:aquamarine" align=middle>aquamarine<br>(#7FFFD4)</td></tr>
<tr>
<td style="background:azure" align=middle>azure<br>(#F0FFFF)</td>
<td style="background:beige" align=middle>beige<br>(#F5F5DC)</td>
<td style="background:bisque" align=middle>bisque<br>(#FFE4C4)</td>
<td style="background:black;color:white" align=middle>black<br>(#000000)</td></tr>
<tr>
<td style="background:blanchedalmond" align=middle>blanchedalmond<br>(#FFEBCD)</td>
<td style="background:#0000ff" align=middle>blue<br>(#0000FF)</td>
<td style="background:#8a2be2" align=middle>blueviolet<br>(#8A2BE2)</td>
<td style="background:brown" align=middle>brown<br>(#A52A2A)</td></tr>
<tr>
<td style="background:burlywood" align=middle>burlywood<br>(#DEB887)</td>
<td style="background:cadetblue" align=middle>cadetblue<br>(#5F9EA0)</td>
<td style="background:chartreuse" align=middle>chartreuse<br>(#7FFF00)</td>
<td style="background:chocolate" align=middle>chocolate<br>(#D2691E)</td></tr>
<tr>
<td style="background:coral" align=middle>coral<br>(#FF7F50)</td>
<td style="background:#6495ed" align=middle>cornflowerblue<br>(#6495ED)</td>
<td style="background:cornsilk" align=middle>cornsilk<br>(#FFF8DC)</td>
<td style="background:crimson" align=middle>crimson<br>(#DC143C)</td></tr>
<tr>
<td style="background:cyan" align=middle>cyan<br>(#00FFFF)</td>
<td style="background:darkblue;color:white" align=middle>darkblue<br>(#00008B)</td>
<td style="background:darkcyan" align=middle>darkcyan<br>(#008B8B)</td>
<td style="background:darkgoldenrod" align=middle>darkgoldenrod<br>(#B8860B)</td></tr>
<tr>
<td style="background:darkgray" align=middle>darkgray<br>(#A9A9A9)</td>
<td style="background:darkgreen" align=middle>darkgreen<br>(#006400)</td>
<td style="background:darkkhaki" align=middle>darkkhaki<br>(#BDB76B)</td>
<td style="background:darkmagenta" align=middle>darkmagenta<br>(#8B008B)</td></tr>
<tr>
<td style="background:darkolivegreen" align=middle>darkolivegreen<br>(#556B2F)</td>
<td style="background:darkorange" align=middle>darkorange<br>(#FF8C00)</td>
<td style="background:darkorchid" align=middle>darkorchid<br>(#9932CC)</td>
<td style="background:darkred" align=middle>darkred<br>(#8B0000)</td></tr>
<tr>
<td style="background:darksalmon" align=middle>darksalmon<br>(#E9967A)</td>
<td style="background:darkseagreen" align=middle>darkseagreen<br>(#8FBC8B)</td>
<td style="background:darkslateblue" align=middle>darkslateblue<br>(#483D8B)</td>
<td style="background:darkslategray" align=middle>darkslategray<br>(#2F4F4F)</td></tr>
<tr>
<td style="background:darkturquoise" align=middle>darkturquoise<br>(#00CED1)</td>
<td style="background:darkviolet" align=middle>darkviolet<br>(#9400D3)</td>
<td style="background:deeppink" align=middle>deeppink<br>(#FF1493)</td>
<td style="background:deepskyblue" align=middle>deepskyblue<br>(#00BFFF)</td></tr>
<tr>
<td style="background:dimgray" align=middle>dimgray<br>(#696969)</td>
<td style="background:dodgerblue" align=middle>dodgerblue<br>(#1E90FF)</td>
<td style="background:firebrick" align=middle>firebrick<br>(#B22222)</td>
<td style="background:floralwhite" align=middle>floralwhite<br>(#FFFAF0)</td></tr>
<tr>
<td style="background:forestgreen" align=middle>forestgreen<br>(#228B22)</td>
<td style="background:#ff00ff" align=middle>fuchsia<br>(#FF00FF)</td>
<td style="background:gainsboro" align=middle>gainsboro<br>(#DCDCDC)</td>
<td style="background:ghostwhite" align=middle>ghostwhite<br>(#F8F8FF)</td></tr>
<tr>
<td style="background:gold" align=middle>gold<br>(#FFD700)</td>
<td style="background:goldenrod" align=middle>goldenrod<br>(#DAA520)</td>
<td style="background:gray" align=middle>gray<br>(#808080)</td>
<td style="background:green" align=middle>green<br>(#008000)</td></tr>
<tr>
<td style="background:greenyellow" align=middle>greenyellow<br>(#ADFF2F)</td>
<td style="background:honeydew" align=middle>honeydew<br>(#F0FFF0)</td>
<td style="background:hotpink" align=middle>hotpink<br>(#FF69B4)</td>
<td style="background:indianred" align=middle>indianred<br>(#CD5C5C)</td></tr>
<tr>
<td style="background:indigo;color:white" align=middle>indigo<br>(#4B0082)</td>
<td style="background:ivory" align=middle>ivory<br>(#FFFFF0)</td>
<td style="background:khaki" align=middle>khaki<br>(#F0E68C)</td>
<td style="background:lavender" align=middle>lavender<br>(#E6E6FA)</td></tr>
<tr>
<td style="background:lavenderblush" align=middle>lavenderblush<br>(#FFF0F5)</td>
<td style="background:lawngreen" align=middle>lawngreen<br>(#7CFC00)</td>
<td style="background:lemonchiffon" align=middle>lemonchiffon<br>(#FFFACD)</td>
<td style="background:lightblue" align=middle>lightblue<br>(#ADD8E6)</td></tr>
<tr>
<td style="background:lightcoral" align=middle>lightcoral<br>(#F08080)</td>
<td style="background:lightcyan" align=middle>lightcyan<br>(#E0FFFF)</td>
<td style="background:lightgoldenrodyellow" align=middle>lightgoldenrodyellow<br>(#FAFAD2)</td>
<td style="background:lightgreen" align=middle>lightgreen<br>(#90EE90)</td></tr>
<tr>
<td style="background:lightgrey" align=middle>lightgrey<br>(#D3D3D3)</td>
<td style="background:lightpink" align=middle>lightpink<br>(#FFB6C1)</td>
<td style="background:lightsalmon" align=middle>lightsalmon<br>(#FFA07A)</td>
<td style="background:lightseagreen" align=middle>lightseagreen<br>(#20B2AA)</td></tr>
<tr>
<td style="background:lightskyblue" align=middle>lightskyblue<br>(#87CEFA)</td>
<td style="background:lightslategray" align=middle>lightslategray<br>(#778899)</td>
<td style="background:lightsteelblue" align=middle>lightsteelblue<br>(#B0C4DE)</td>
<td style="background:lightyellow" align=middle>lightyellow<br>(#FFFFE0)</td></tr>
<tr>
<td style="background:lime" align=middle>lime<br>(#00FF00)</td>
<td style="background:limegreen" align=middle>limegreen<br>(#32CD32)</td>
<td style="background:linen" align=middle>linen<br>(#FAF0E6)</td>
<td style="background:magenta" align=middle>magenta<br>(#FF00FF)</td></tr>
<tr>
<td style="background:maroon" align=middle>maroon<br>(#800000)</td>
<td style="background:mediumaquamarine" align=middle>mediumaquamarine<br>(#66CDAA)</td>
<td style="background:mediumblue;color:white" align=middle>mediumblue<br>(#0000CD)</td>
<td style="background:mediumorchid" align=middle>mediumorchid<br>(#BA55D3)</td></tr>
<tr>
<td style="background:mediumpurple" align=middle>mediumpurple<br>(#9370DB)</td>
<td style="background:mediumseagreen" align=middle>mediumseagreen<br>(#3CB371)</td>
<td style="background:mediumslateblue" align=middle>mediumslateblue<br>(#7B68EE)</td>
<td style="background:mediumspringgreen" align=middle>mediumspringgreen<br>(#00FA9A)</td></tr>
<tr>
<td style="background:mediumturquoise" align=middle>mediumturquoise<br>(#48D1CC)</td>
<td style="background:mediumvioletred" align=middle>mediumvioletred<br>(#C71585)</td>
<td style="background:midnightblue;color:white" align=middle>midnightblue<br>(#191970)</td>
<td style="background:mintcream" align=middle>mintcream<br>(#F5FFFA)</td></tr>
<tr>
<td style="background:mistyrose" align=middle>mistyrose<br>(#FFE4E1)</td>
<td style="background:moccasin" align=middle>moccasin<br>(#FFE4B5)</td>
<td style="background:navajowhite" align=middle>navajowhite<br>(#FFDEAD)</td>
<td style="background:navy;color:white" align=middle>navy<br>(#000080)</td></tr>
<tr>
<td style="background:oldlace" align=middle>oldlace<br>(#FDF5E6)</td>
<td style="background:olive" align=middle>olive<br>(#808000)</td>
<td style="background:olivedrab" align=middle>olivedrab<br>(#6B8E23)</td>
<td style="background:orange" align=middle>orange<br>(#FFA500)</td></tr>
<tr>
<td style="background:orangered" align=middle>orangered<br>(#FF4500)</td>
<td style="background:orchid" align=middle>orchid<br>(#DA70D6)</td>
<td style="background:palegoldenrod" align=middle>palegoldenrod<br>(#EEE8AA)</td>
<td style="background:palegreen" align=middle>palegreen<br>(#98FB98)</td></tr>
<tr>
<td style="background:paleturquoise" align=middle>paleturquoise<br>(#AFEEEE)</td>
<td style="background:palevioletred" align=middle>palevioletred<br>(#DB7093)</td>
<td style="background:papayawhip" align=middle>papayawhip<br>(#FFEFD5)</td>
<td style="background:peachpuff" align=middle>peachpuff<br>(#FFDAB9)</td></tr>
<tr>
<td style="background:peru" align=middle>peru<br>(#CD853F)</td>
<td style="background:pink" align=middle>pink<br>(#FFC0CB)</td>
<td style="background:plum" align=middle>plum<br>(#DDA0DD)</td>
<td style="background:powderblue" align=middle>powderblue<br>(#B0E0E6)</td></tr>
<tr>
<td style="background:purple" align=middle>purple<br>(#800080)</td>
<td style="background:red" align=middle>red<br>(#FF0000)</td>
<td style="background:rosybrown" align=middle>rosybrown<br>(#BC8F8F)</td>
<td style="background:royalblue" align=middle>royalblue<br>(#4169E1)</td></tr>
<tr>
<td style="background:saddlebrown" align=middle>saddlebrown<br>(#8B4513)</td>
<td style="background:salmon" align=middle>salmon<br>(#FA8072)</td>
<td style="background:sandybrown" align=middle>sandybrown<br>(#F4A460)</td>
<td style="background:seagreen" align=middle>seagreen<br>(#2E8B57)</td></tr>
<tr>
<td style="background:seashell" align=middle>seashell<br>(#FFF5EE)</td>
<td style="background:sienna" align=middle>sienna<br>(#A0522D)</td>
<td style="background:silver" align=middle>silver<br>(#C0C0C0)</td>
<td style="background:skyblue" align=middle>skyblue<br>(#87CEEB)</td></tr>
<tr>
<td style="background:slateblue" align=middle>slateblue<br>(#6A5ACD)</td>
<td style="background:slategray" align=middle>slategray<br>(#708090)</td>
<td style="background:snow" align=middle>snow<br>(#FFFAFA)</td>
<td style="background:springgreen" align=middle>springgreen<br>(#00FF7F)</td></tr>
<tr>
<td style="background:steelblue" align=middle>steelblue<br>(#4682B4)</td>
<td style="background:tan" align=middle>tan<br>(#D2B48C)</td>
<td style="background:teal" align=middle>teal<br>(#008080)</td>
<td style="background:thistle" align=middle>thistle<br>(#D8BFD8)</td></tr>
<tr>
<td style="background:tomato" align=middle>tomato<br>(#FF6347)</td>
<td style="background:turquoise" align=middle>turquoise<br>(#40E0D0)</td>
<td style="background:violet" align=middle>violet<br>(#EE82EE)</td>
<td style="background:wheat" align=middle>wheat<br>(#F5DEB3)</td></tr>
<tr>
<td style="background:white" align=middle>white<br>(#FFFFFF)</td>
<td style="background:whitesmoke" align=middle>whitesmoke<br>(#F5F5F5)</td>
<td style="background:yellow" align=middle>yellow<br>(#FFFF00)</td>
<td style="background:yellowgreen" align=middle>yellowgreen<br>(#9ACD32)</td></tr></tbody></table>
<h2><a></a>用户定义的系统颜色</h2>
<p>Microsoft<sup>?</sup> Windows<sup>?</sup> 维护着一组用于绘制用户界面不同部分的系统颜色。除了定义在颜色表中的颜色,在 Internet Explorer 4.0 中也可正常显示以下系统颜色指定为颜色值的 Web 页。</p>
<p>用户可以使用 Windows 控制面板设置用于将来 Windows 会话的系统颜色。下表演示了定义在控制面板中的颜色名称的对应情况。</p>
<div><b>注意</b> 不对应任何控制面板的颜色只可使用 Windows API 编程设置,用户无法定义。</div>
<table cellspacing=5 cellpadding=5 bgcolor=gray border=5>
<tbody>
<tr>
<td style="background:activeborder" align=middle>activeborder</td>
<td style="background:activecaption;color:captiontext" align=middle>activecaption</td>
<td style="background:appworkspace" align=middle>appworkspace</td>
<td style="background:background" align=middle>background</td></tr>
<tr>
<td style="background:buttonface" align=middle>buttonface</td>
<td style="background:buttonhighlight" align=middle>buttonhighlight</td>
<td style="background:buttonshadow" align=middle>buttonshadow</td>
<td style="background:buttontext;color:buttonface" align=middle>buttontext</td></tr>
<tr>
<td style="background:captiontext" align=middle>captiontext</td>
<td style="background:graytext" align=middle>graytext</td>
<td style="background:highlight;color:highlighttext" align=middle>highlight</td>
<td style="background:highlighttext" align=middle>highlighttext</td></tr>
<tr>
<td style="background:inactiveborder" align=middle>inactiveborder</td>
<td style="background:inactivecaption;color:captiontext" align=middle>inactivecaption</td>
<td style="background:inactivecaptiontext" align=middle>inactivecaptiontext</td>
<td style="background:infobackground" align=middle>infobackground</td></tr>
<tr>
<td style="background:infotext;color:infobackground" align=middle>infotext</td>
<td style="background:menu" align=middle>menu</td>
<td style="background:menutext;color:menu" align=middle>menutext</td>
<td style="background:scrollbar" align=middle>scrollbar</td></tr>
<tr>
<td style="background:threeddarkshadow;color:buttonface" align=middle>threeddarkshadow</td>
<td style="background:buttonface" align=middle>threedface</td>
<td style="background:buttonhighlight" align=middle>threedhighlight</td>
<td style="background:threedlightshadow" align=middle>threedlightshadow</td></tr>
<tr>
<td style="background:buttonshadow" align=middle>threedshadow</td>
<td style="background:window" align=middle>window</td>
<td style="background:windowframe;color:window" align=middle>windowframe</td>
<td style="background:windowtext;color:window" align=middle>windowtext</td></tr></tbody></table>
</body>
</html>
发表评论
-
js 操作frameset frame 对象
2010-08-30 16:43 1815框架编程概述一个HTML页面可以有一个或多个子框架,这些子框 ... -
js解密
2009-10-27 20:50 1241<script type="text/jav ... -
Javascript中eval函数的用法
2009-10-27 20:49 880JavaScript有许多小窍门来使编程更加容易。其中之一就是 ... -
Javascript Eval 函数详解1
2009-10-27 20:49 1384==============================E ... -
javascript 正则表达式祥解
2009-10-27 20:48 782正则表达式使用详解简 ... -
温故知新 javascript 正则表达式
2009-10-27 20:47 831很长时间没看 正则表达式了,碰巧今天用到,温故知新了一把 看书 ... -
子父窗口的操作,递归
2009-07-29 20:24 1196字符窗口操作: <html> <head ... -
js增加行
2008-09-27 17:10 2245<!DOCTYPE HTML PUBLIC " ... -
js层拖动
2008-09-16 09:14 1351<script> var x,y,z,down=f ... -
多form表单提交
2008-09-16 09:10 1680<script> function m ... -
加入收藏字体大小打印——收藏
2008-09-16 09:10 1223<SCRIPT language=JavaScript ... -
恢复上一次操作
2008-09-16 09:08 1069<script language="Jav ... -
javaScript 中call 函数的用法说明
2008-08-30 16:33 1076javaScript 中的 call() 是一个奇妙的方法,但 ... -
close Window
2008-08-07 18:01 1383----------------例子1------------ ... -
js使用小技巧
2008-07-04 17:15 12051.收藏时用图标显示 <link REL="S ... -
模态窗口和非模态窗口
2008-07-04 13:35 14059模态窗口和非模态窗口 ... -
HTML文档的节点
2008-06-21 14:24 1234DOM下,HTML文档各个节点被视为各种类型的Node对象。每 ... -
上传文件
2008-03-10 17:35 11961.test.htmn <script language ... -
平台新的双向选择组件
2008-03-10 16:41 16251.index.jsp <%@ page content ... -
父子页面的值传递
2008-03-10 16:20 17121 父子页面的值传递 两种方式: 1)在父页面可以通 ...
相关推荐
手语数字数据集是一种专门用于机器学习和计算机视觉任务的数据集,主要目的是帮助算法...这个数据集的使用不仅可以提高算法的准确性,还可能启发新的模型架构和训练策略,进一步推动人工智能在无障碍通信领域的应用。
验证集在训练过程中用于模型选择和超参数调优,它可以帮助我们评估模型在未见过的数据上的表现,避免过拟合。最后,测试集用于最终评估模型的性能,确保模型具有良好的泛化能力。 在处理遥感地物语义分割时,深度...
为了优化模型,我们可能会采用不同的数据集划分策略,比如80/20的比例,或者使用交叉验证,将数据集多次切分来确保模型的泛化能力。同时,特征工程也是提升模型性能的关键环节,可能包括关键词提取、TF-IDF(词频-逆...
以下是这8个数据集可能涵盖的一些关键知识点: 1. 数据集种类: 数据集通常分为监督学习、无监督学习或强化学习类型。在这个压缩包中,我们关注的是监督学习数据集,因为分类属于这种类型。每个数据集可能有其特定...
以上就是MNIST数据集的基本介绍和处理方法。通过Python代码,我们可以轻松地读取、预处理和保存这些数据,为后续的机器学习模型训练做好准备。在`test_for_mnist.py`文件中,很可能包含了使用这些数据进行模型训练和...
开发者可以从中获取关于数据集的详细结构和使用方法。 3. "train":这是训练集的目录,里面应包含用于训练模型的图像。训练集图像通常被随机分成多个类别,且每个类别有足够数量的样本,使得模型能学习到各个类别的...
一步方法则直接预测边界框和类别,速度更快但可能牺牲一些精度。 电动车目标检测数据集的创建是为了推动电动车识别技术的发展,这在智能交通、自动驾驶、监控系统等领域具有广泛应用。例如,自动驾驶车辆需要能够...
这个数据集源自于1912年泰坦尼克号沉船事件,它包含了乘客的一些基本信息,目的是为了预测哪些乘客在灾难中幸存下来。通过对这些数据进行分析和建模,我们可以了解哪些特征与生存率有关,以及如何利用这些特征来预测...
9. **文档说明**:创建数据集的README文件,详细说明数据集的来源、目的、内容、格式、预处理方法和使用方法,方便其他研究人员理解和使用。 10. **版本控制**:如果可能,使用Git或其他版本控制系统管理你的代码和...
例如,"部分整理的UCI数据集"可能包含了一些已经过初步处理,适合进行建模分析的数据子集。 UCI数据集的特点: 1. **多样性**:UCI数据集覆盖了各种类型的问题,包括分类、回归、聚类和关联规则挖掘等。 2. **规模*...
为了进一步提升识别性能,一些现代方法还会结合多模态信息,如使用红外、3D结构等辅助信息,或者结合其他生物识别技术,如虹膜、指纹等。此外,还有一些工作关注解决光照变化、遮挡、姿态变化等问题,以及在小样本...
在训练过程中,通常会设置验证集来监控模型的性能,避免过拟合,并使用早停策略来提高模型泛化能力。 一旦模型训练完成,评估其性能通常采用准确率、精确率、召回率和F1分数等指标。在苹果与橘子的分类问题中,如果...
COCO(Common Objects in Context)数据集是目前广泛使用的目标检测、分割和关键点检测的数据集之一,它的全称是“上下文中的常见对象”。COCO128数据集可能是COCO数据集的一个子集或简化版本,通常用于训练和测试...
此外,该页面还可能分享了一些使用此数据集进行机器学习的方法,比如基于特征选择、降维和分类算法的模型构建,例如支持向量机(SVM)、决策树、随机森林等。 在研究中,你可以使用ADFA-LD数据集来探索不同的特征...
除了上述方法,还有一些其他的数据增强技术,如色彩抖动、亮度和对比度调整、HSV 色彩空间变换等。这些技术可以根据具体任务和数据集的特性进行组合和定制,以达到最佳的增强效果。 在PyTorch中,可以使用`...
以下是对"一些bug的知识集"的详细解释: 1. **什么是Bug?** Bug通常指软件中的编程错误,它们可能是由于逻辑错误、语法错误或设计缺陷导致的。当用户执行程序时遇到不正常的行为,如程序崩溃、数据丢失或显示错误...
标题 "LSTM天气预测数据集" 暗示我们关注的是使用长短期记忆网络(LSTM)进行天气预报的一种特定数据集。LSTM是递归神经网络(RNN)的一个变体,特别适合处理序列数据,如时间序列的气象数据。这种数据集通常包含...
在训练过程中,通常会使用一些技巧,如数据增强(如随机旋转、裁剪等)来增加模型的泛化能力。此外,还需要设置超参数,如学习率、批大小和训练轮数。 最后,模型的性能通常通过平均精度(mAP)等指标在验证集上...
6. **深度学习应用**:虽然一些数据集可能较小,但它们仍然可以用于探索深度学习模型,如神经网络,尤其是对于小规模数据的调参和理解模型行为非常有用。 7. **数据可视化**:在分析UCI数据集时,通过可视化工具...
迁移学习是一种机器学习方法,它利用在大规模数据集上预训练的模型作为基础,然后针对新的、较小的数据集进行微调,以解决特定任务。在本案例中,"迁移学习常用USPS数字数据集" 提供了一个适用于迁移学习的资源,...