日期:2014-05-18  浏览次数:20507 次

超联接弹出窗口问题
我想实现,,点击一个超连接,使得弹出的窗口为全屏,谁知道有办法实现吗?
知道的说下,多谢了

------解决方案--------------------
<script>
<!--
function winopen(){
var targeturl= "http://www.google.com "
newwin=window.open( " ", " ", "scrollbars ")
if (document.all){
newwin.moveTo(0,0)
newwin.resizeTo(screen.width,screen.height)
}
newwin.location=targeturl
}
//-->
</script>

<input type= "button " onClick= "winopen() " value= "全屏显示 " name= "button ">

======================
楼主看看
------解决方案--------------------
<html>
<head>
<script>
<!--
function winopen(){
var targeturl= "http://www.google.com "
newwin=window.open( " ", " ", "scrollbars ")
if (document.all){
newwin.moveTo(0,0)
newwin.resizeTo(screen.width,screen.height)
}
newwin.location=targeturl
}
//-->
</script>
</head>
<body>
<a href= "javascript:winopen() "> aa </a>
</body>
</html>
------解决方案--------------------
下面这个应该符合楼主的需求
------解决方案--------------------
window.open( 'AAA.ASPX ', ' ', 'FULLSCREEN=YES,scrollbars=no ')即可,
只是对浏览器会有要求。