如何才能将window.open打开的窗口置于最前面,我打开时它总是并且控制其位置

解决方案 »

  1.   

    window.showModalDialog("Test.aspx","","dialogWidth:300px;dialogHeight:300px;scroll:no;status:no") ;
      

  2.   

    Javascript中window.open()好象是可以返回打开的窗口的对象的,定义一个对象,在设置,应该是可以实现的。
      

  3.   

    window.open()打开的时候就是置于最前面了
    但控制其位置就不知道了
    帮你顶下!
      

  4.   

    使用top和left就可以指定位置了
      

  5.   

    window.open ('page.html', 'newwindow', 'height=100, width=400, top=0, left=0, toolbar=no, menubar=no, scrollbars=no,resizable=no,location=no, status=no')
      

  6.   

    window.open ('page.html', 'newwindow', 'height=100, width=400, top=0, left=0, toolbar=no, menubar=no, scrollbars=no,resizable=no,location=no, status=no')