?? editor_inserthr.asp
字號(hào):
<HTML>
<HEAD>
<title>插入水平線</title>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<link rel="stylesheet" type="text/css" href="editor_dialog.css">
<script language="JavaScript">
function OK(){
var str1;
str1="<hr color='"+color.value+"' size="+size.value+"' "+shadetype.value+" align="+align.value+" width="+width.value+">"
window.returnValue = str1
window.close();
}
function IsDigit()
{
return ((event.keyCode >= 48) && (event.keyCode <= 57));
}
</script>
</head>
<BODY bgColor=menu topmargin=15 leftmargin=15 >
<table width=100% border="0" cellpadding="0" cellspacing="2">
<tr><td>
<FIELDSET align=left>
<LEGEND align=left><strong>輸入水平線參數(shù)</strong></LEGEND>
<table border="0" cellpadding="0" cellspacing="3">
<tr>
<td>線條顏色:
<input name="color" id=color style='cursor:text' onclick='p=showModalDialog("editor_color.asp",window,"center:yes;dialogHeight:320px;dialogWidth:300px;help:no;status:no");if(p!=null){this.value=p.split("*")[0]}else{this.value=""}' readonly>
</td>
</tr>
<tr>
<td>線條粗度:
<input name="size" id=size onKeyPress="event.returnValue=IsDigit();" value="2" size="4" maxlength=3>
必須是數(shù)字,范圍建議在1-100之間</td>
</tr>
<tr>
<td> 頁面對齊:
<select name="align" id=align>
<option value="left" selected>默認(rèn)對齊</option>
<option value="left">左對齊 </option>
<option value="center">中對齊 </option>
<option value="right">右對齊 </option>
</select>
陰影效果;
<select name="shadetype" id=shadetype>
<option value=noshade selected>無
<option value=''>有
</select>
</td>
</tr>
<tr>
<td> 水平寬度:
<input name="width" id=width ONKEYPRESS="event.returnValue=IsDigit();" value="400" size="6" maxlength=3>
必須是數(shù)字,范圍建議在1-999之間</td>
</tr>
</table>
</fieldset></td>
<td width=80 align="center"><input name="cmdOK" type="button" id="cmdOK" value=" 確定 " onClick="OK();">
<br>
<br>
<input name="cmdCancel" type=button id="cmdCancel" onclick="window.close();" value=' 取消 '></td>
</tr></table>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -