打开一个窗体


function openwin(href)
{
 var WinNum = Math.round(Math.random()*1000);
 var WinName = "name" + WinNum;
  window.open (href,WinName,"left=0, top=0, toolbar=no,scrollbars=no,resizable=no, location=no, status=no,width="+screen.availWidth+",height="+screen.availHeight+"");
}

function mainopenurl(mhref,thref)
{
 window.parent.mainFrame.location.href=mhref;
 window.parent.topFrame.location.href=thref;
}

function openwinOne(href)
{
  window.open (href,"WinName","left=0, top=0, toolbar=no,scrollbars=no,resizable=no, location=no, status=no,width="+screen.availWidth+",height="+screen.availHeight+"");
}

你可能感兴趣的:(打开一个窗体)