function Detail(ID,FormID,FormDetailID){
var width=780;
var height=640;
var left=(screen.width-width)/2;
var top=(screen.height-height)/4;
var url="payment.jsp?ID="+ID+'&FormID='+FormID+'&FormDetailID='+FormDetailID;
var detail=window.open(url,'detil','menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=1,resizable=1,width='+width+',top='+top+',left='+left+',height='+height);
detail.focus();
}
这样就可以了吧!
function call(htmlurl){
var newwin=window.open(htmlurl,"newsssWin_searchout","top=150,left=150,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=500,height=480");
newwin.focus();
return false;
}