<a href=# onclick="javascript:window.open('test.htm','test','height=100,width=400,top=0,left=0,toolbar=yes,menubar=yes,scrollbar=yes,resizable=yes,location=yes,status=yes,width="+Screen.width+",height="+Screen.height+"')">sdfs</a>

解决方案 »

  1.   

    你说我打开的是jsp页面可以吗?
      

  2.   

    我要控制的是已经存在的jsp页面,不是新打开一个
      

  3.   

    <a href=# onclick="javascript:window.open('test.htm','test','top=0,left=0,toolbar=yes,menubar=yes,scrollbar=yes,resizable=yes,location=yes,status=yes,width="+Screen.width+",height="+Screen.height+"')">sdfs</a>或者链接打开的页面在<head>区域内添加使当前窗口最大化的js
    <script>
    window.moveTo(0,0)
    window.resizeTo(screen.Width,screen.Height)
    </script>