📄 win_source.asp
字号:
<html>
<head>
<title>编辑HTML代码</title>
<link rel="stylesheet" href="html_edit.css" type="text/css">
</head>
<SCRIPT>
window.onload=fnInit;
function fnInit(){
ae_source_form.source.value = window.dialogArguments.DHTMLSafe.DOM.body.innerHTML;
}
function sendhome(obj) {
if (ae_source_form.source.value.length) {
window.dialogArguments.DHTMLSafe.DOM.body.innerHTML=ae_source_form.source.value;
}
else {
window.dialogArguments.DHTMLSafe.DOM.body.innerHTML=" ";
}
window.close();
}
function cancel() {
window.close();
}
</SCRIPT>
<body topmargin="0" leftmargin="0" bgcolor="menu" style="border:0;overflow: hidden;">
<form name="ae_source_form">
<table width="96%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td align="center"> HTML代码编辑窗口<br>
<textarea cols="58" rows="27" name="source"> </textarea>
</td>
</tr>
</table>
<center>
<input type="button" name="B1" value=" 保存 " style="width:64px;" onclick="sendhome();">
<input type="button" name="B2" value=" 取消 " style="width:64px;" onclick="cancel();">
</center>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -