内蒙古低价药目录:windows open 语言代码的自动最大化问题?

来源:百度文库 编辑:中科新闻网 时间:2024/05/12 02:02:55
<SCRIPT event=onload for=window>
window.open("打开地址站点")
</SCRIPT>

以上的语句,要起在打开的ie 浏览页最大化显示,在加什么代码?

<script>
<!--
function winopen(){
var targeturl="你的链接网址"
newwin=window.open("","","scrollbars")
if (document.all){
newwin.moveTo(0,0)
newwin.resizeTo(screen.width,screen.height)
}
newwin.location=targeturl
}
//-->
</script>
<form>
<input type="button" onClick="winopen()" value="按我试试" name="button">
</form>