用js满屏显示问题。
kaloo 2003-02-11 09:16:22 我想用js满屏显示,以下代码打开两个窗口,我只要满屏窗口,如何实现呢?
<html>
<body onload="winopen()" >
<script>
<!--
function winopen(){
var targeturl="http://www.daum.net"
newwin=window.location("","","scrollbars")
if (document.all){
newwin.moveTo(0,0)
newwin.resizeTo(screen.width,screen.height)
}
newwin.location=targeturl
}
//-->
</script>
</body>
</html>