function InsertParameterType()
{
var theDes = "dialogtop:250px;dialogleft:380px;dialogWidth:390px;dialogHeight:320px;edge:sunken;help:no;status:no;scroll:yes;";
MaskDiv.style.display = "";
window.showModalDialog("ParameterTypePanel.aspx?CommandCode=Insert", window, theDes);
MaskDiv.style.display = "none";
return false;
}
{
var theDes = "dialogtop:250px;dialogleft:380px;dialogWidth:390px;dialogHeight:320px;edge:sunken;help:no;status:no;scroll:yes;";
MaskDiv.style.display = "";
window.showModalDialog("ParameterTypePanel.aspx?CommandCode=Insert", window, theDes);
MaskDiv.style.display = "none";
return false;
}
博客展示了InsertParameterType函数的代码。该函数设置了模态对话框的样式,显示遮罩层,调用ParameterTypePanel.aspx页面并传入参数,之后隐藏遮罩层,最后返回false。
1087

被折叠的 条评论
为什么被折叠?



