onclick='return js_newopen(this.href,'620','400');'>试试

解决方案 »

  1.   

    function js_newopen(htmlurl,wid,hei) { 
    alert(hei);
    var  newwin=window.open(htmlurl,"_blank","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,top=100,left=80,width=" + wid + ",height= " +hei); 
    newwin.focus(); 
    return false; 
    }
      

  2.   

    function js_newopen(htmlurl,wid,hei) { 
    alert(hei);
    var  newwin=window.open(htmlurl,"_blank","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,top=100,left=80,width=" + wid + ",height= " +hei); 
    newwin.focus(); 
    return false; 
    }