精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>电脑技术>>Flash闪客>>≈Flash教程≈>>精彩范文>>flash做为首页时的全屏播放

主题:flash做为首页时的全屏播放
发信人: llzj2(紫云)
整理人: llzj2(2001-09-01 00:16:56), 站内信件
减flash做为首页全屏播放时直接用全屏打开是不行的。要在一个叶子的HEAD加一段JS代码。用他来打开全屏窗口。 
播放时的GET URL窗口模式选_self就可以了。 
将下面的代码复制倒<body> or <head>里面 
----------------------------------------------------- 
<script> 
<!--
function winopen(){
var targeturl="http://flashkg.51.net"
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"> 
------------------------ 
全屏的窗口要没有右边的滚动条就在 
要全屏的叶子里<body>里面加入scroll=no 
<body***** scroll=no>(象左边的这样)




----
 


!!!



  

[关闭][返回]