?? div.htm
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>創建新層</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="../css/tools.css">
<script src="../common/common.js"></script>
<script language="javascript">
function returnvar()
{
var arr=document.all.tags ("input");
var ret="";
var i;
for(i=0;i<arr.length;i++){
if(arr[i].type=="text"){
if(arr[i].value!=""){
if(!isNaN(arr[i].value)) ret+=arr[i].value+"|";
else{
alert("輸入數值不合法");
arr[i].select();
return false;
}
}
else{
alert("輸入數值不能為空");
arr[i].focus();
return false;
}
}
}
ret=ret.substring(0,ret.length-1);
window.returnValue=ret;
window.close ();
}
</script>
</head>
<body bgcolor=Silver>
<table width="100%" border="0" cellspacing="6" cellpadding="1">
<tr>
<td width="15%" align="right">頂端</td>
<td width="15%"><input type="text" id=sys_divTop style="width:50px" onFocus="this.select()"></td>
<td width="15%" align="right">左端</td>
<td width="14%"><input type="text" id=sys_divLeft style="width:50px" onFocus="this.select()"></td>
<td width="41%" align="center">
<input type="button" id=sys_submit onClick="returnvar()" value="確定">
</td>
</tr>
<tr>
<td align="right">寬</td>
<td><input type="text" id=sys_divWidth style="width:50px" onFocus="this.select()"></td>
<td align="right">高</td>
<td><input type="text" id=sys_divHeight style="width:50px" onFocus="this.select()"></td>
<td align="center">
<input type="button" id=sys_cancel onClick="window.close()" value="取消">
</td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -