?? editor_fieldset.asp
字號:
<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="<FIELDSET align='"+align1.value+"' style='"
if(color.value!='')str1=str1+"color:"+color.value+";"
if(backcolor.value!='')str1=str1+"background-color:"+backcolor.value+";"
str1=str1+"'><Legend"
str1=str1+" align="+align2.value+">"+LegendTitle.value+"</Legend>請?jiān)谶@里輸入欄目框的內(nèi)容</FIELDSET>"
window.returnValue = str1;
window.close();
}
</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>插入欄目框</strong></LEGEND>
<table border="0" align="center" cellpadding="0" cellspacing="3">
<tr>
<td align="right">欄目框?qū)R方式:</td>
<td><select name="align1" id=align1>
<option value="left" selected>左對齊
<option value="center">居中
<option value="right">右對齊
</select></td>
</tr>
<tr>
<td align="right">欄目標(biāo)題: </td>
<td><input name="LegendTitle" type="text" id="LegendTitle" size="20"></td>
</tr>
<tr>
<td align="right">標(biāo)題對齊方式: </td>
<td><select name="align2" id=select3>
<option value="left" selected>左對齊
<option value="center">居中
<option value="right">右對齊
</select></td>
</tr>
<tr>
<td align="right">邊框顏色: </td>
<td><input name="color" id=color2 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=""}' size="20" maxlength="20" readonly></td>
</tr>
<tr>
<td align="right">背景顏色: </td>
<td><input name="backcolor" id=backcolor2 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=""}' size="20" maxlength="20" readonly></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
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -