main.js

来自「DocFlow展示了使用.NET开发平台结合Microsoft SQL Serv」· JavaScript 代码 · 共 25 行

JS
25
字号
var remote=null;
function rs(n,u,w,h,x) {
  args="width="+w+",height="+h+",resizable=yes,scrollbars=yes,status=0"+x;
  
  remote=window.open(u,n,args);
  if (remote != null) {
    if (remote.opener == null)
      remote.opener = self;
      remote.focus();
  }
  if (x == 1) { return remote; }
}
function OpenDocWnd(u,n) 
{
	rs(n,u,640,480);
}
function ViewDoc(sid)
{
	OpenDocWnd("../Documents/DocTextView_Frameset.aspx?id=" + sid, "View"+sid);
}
function OpenEditDocWnd(u,n) 
{
	rs(n,u,750,500,",left=10,top=10");
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?