模式化窗解决方案如下: 调用以下脚就可以解决, function openWindowModalDialog(strHref,pWidth,pHeight) {
  var strRef="";
  strRef=strRef+"dialogWidth="+pWidth+"px;dialogHeight="+pHeight+"px;";
  strRef=strRef+"dialogLeft="+(screen.availWidth/2-pWidth/2)+"px;dialogTop="+(screen.availHeight/2-pHeight/2)+"px;";
  strRef=strRef+"resizable=no;scroll=no;status=no;help=no";
  var returnvalue = window.showModalDialog(strHref,"ALink",strRef);
  if (returnvalue == true)
location.href = location.href;
  else if (returnvalue != false && returnvalue != '' && typeof(returnvalue) != 'undefined')
  {
if (returnvalue.indexOf('target=print')>=0)
openPrintWindow(returnvalue);
else
location.href = returnvalue;
  }
}function openPrintWindow(strHref) {
  var pWidth=screen.Width-12;
  var pHeight=screen.Height-120;
  var strRef="left=0,top=0,width="+pWidth+"px,height="+pHeight+"px,resizable=yes,scrollbars=yes,status=yes,toolbar=yes,menubar=yes,location=no,borderSize=thin";
  window.open(strHref,"ALink",strRef,false);
}