?? testsave.htm
字號:
<!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>
<script language="javascript" src="../acting/util.js"></script>
<script>
var lines=new Array();
var nodes=new Array();
alert(nodes.length);
nodes=[
{name:'未命名任務0',type:'start',comment:'',position:{top:81,left:351}},
{name:'未命名任務1',type:'end',comment:'',position:{top:234,left:457}}
];
alert(nodes.length);
//lines={
// {name:'未命名0',source:0,destination:1,midPoint:{top:'172.5',left:'454'}}
// };
//
//alert(lines.length);
function clearAll(){
var s={name:'shen',age:18};
var d={sex:'male'};
d=mixIn(s,d);
for(var i in d)
alert(i+":"+d[i]);
}
</script>
</head>
<body>
<button onclick="clearAll()">clear</button>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -