📄 openwind.js
字号:
function openDialog(url, width, height)
{
var returnString;
returnString = window.showModalDialog(url,'','dialogHeight:'+height+'px;dialogWidth:'+width+'px;center:Yes;help:no;resizable:No;status:no;scroll:No');
}
function openDialog_input(url, width, height)
{
var returnString;
returnString = window.showModalDialog(url,'','dialogHeight:'+height+'px;dialogWidth:'+width+'px;center:Yes;help:no;resizable:No;status:no;scroll:No');
}
function openDialog1(url, width, height)
{
var returnString1;
returnString1 = window.showModalDialog(url,'','dialogHeight:'+height+'px;dialogWidth:'+width+'px;center:Yes;help:no;resizable:No;status:no;scroll:No');
}
function open_winow()
{
var SQL=document.Form1.SQL_STR.value;
var Pagenum=document.Form1.P_num.value;
openDialog('excel.aspx?SQLSTR='+SQL+'&P_num='+Pagenum+'',350,120);
}
function open_allwinow()
{
//alert("ee");
var SQL=document.Form1.SQL_STR.value;
openDialog1('Excel_All.aspx?SQLSTR='+SQL+'',350,120);
}
function ToExcel()
{
var SQL=document.Form1.SQL_STR.value+"";
var Pagenum=document.Form1.P_num.value+"";
if(SQL!=""&&Pagenum!="")
{
document.Form1.toAllExcel.disabled=false;
document.Form1.toexcel.disabled=false;
}else
{
document.Form1.toAllExcel.disabled=true;
document.Form1.toexcel.disabled=true;
}
}
var returnString=null;
function W_w()
{
returnString = window.showModalDialog('Excel_all.aspx','','dialogHeight:'+200+'px;dialogWidth:'+350+'px;center:Yes;help:no;resizable:No;status:no;scroll:No');
}
function C_w()
{
if (returnString!= null && returnString.open)returnString.close();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -