function opennews(name){window.open(name,"", "height=288, width=360, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no") ;
这样大小可以改,但是位置呢?
-----------------------------------------
<form action="目的网页" target="newwindow" method="post" onSubmit="window.open ('', 'newwindow', 'height=250, width=300, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=n o, status=no');">
----------------------------------------
提交时先开一个空白页,
window.open("about:blank","窗口名称","height=288, width=360, left=100,top=200,toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no")
target="窗口名称"
窗口名称要起的特别一点如"action_target_window"
------------------------------------------
综合大家的结论:
function opennews(name){window.open(name,"", "height=288, width=360, toolbar=no, left=100,top=200,menubar=no, scrollbars=no, resizable=no, location=no, status=no")