点击 铵钮 实现播放全屏效果,并且进度不变 去下面看看,可能有你需要的http://www.51windows.net/ 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <script language=javascript><!--function myopen(url){var tmp=window.open(url,"","fullscreen=1")tmp.moveTo(0,0)tmp.resizeTo(screen.availWidth,screen.availHeight)tmp.focus()}--></script><a href="javascript:myopen('xxx.asp?id=123')">click</a> aassdd.asp:<OBJECT codeBase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701 type=application/x-oleobject height=288 standby="Loading Microsoft® Windows® Media Player components..." width=352 classid=CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95 name=MediaPlayer> <PARAM NAME="ShowStatusBar" VALUE="false"> <PARAM NAME="ShowTracker" VALUE="false"> <PARAM NAME="FileName" VALUE=""> <PARAM NAME="playcount" VALUE="1"> <PARAM NAME="ClickToPlay" VALUE="false"> <PARAM NAME="EnableContextMenu" VALUE="false"> <PARAM NAME="ShowControls" VALUE="false"> <PARAM NAME="ShowAudioControls" VALUE="false"> <PARAM NAME="ShowPositionControls" VALUE="false"> <PARAM NAME="ShowDisplay=" VALUE="false"> <PARAM NAME="ShowGotoBar=" VALUE="false"> <PARAM NAME="AutoStart" VALUE="True"> <PARAM NAME="AnimationAtStart" VALUE="false"> <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" autostart=1 showcontrols=0 clicktoplay=0 enablecontextmenu=0 showaudiocontrols=0 showpositioncontrols=0 showtracker=0 showdisplay=0 showgotobar=0 showstatusbar=0 animationatstart=0 width=352 height=288 src="" vspace="0" hspace="0" border="0"></embed></OBJECT>***********上面是你的代码。下面不知道是不是你想到的结果。test.asp:<script language="javascript">function aa(){ document.getElementById("leftFrame").style.width="100%"; document.getElementById("leftFrame").style.height="100%"; frames.leftFrame.document.MediaPlayer.style.width=document.getElementById("leftFrame").style.width frames.leftFrame.document.MediaPlayer.style.height=document.getElementById("leftFrame").style.height}</script><IFRAME name=leftFrame src="aassdd.asp" frameBorder=0 width="209" scrolling=no height="348"></IFRAME><input type="button" name="b1" value="全屏"onclick="aa()"> 具体要实现什么样的效果?是否和网上flash的全屏播放一样? <PARAM NAME="AnimationAtStart" VALUE="false"> size=3 ajax中怎么判断div标签下是否存在img ExtJS panel中组件布局的问题 google的自动提示功能如何使用? 一个有挑战性的问题, 请问form页提交后如何马上刷新这个form页? 我想打出"\"请问能不能了? 我的语句为 alert ("\");为什么不能实现,我想实现这个功能,请指教。 在javascript中有没有函数或类型识别 Extjs 监听file的change事件是怎么 无效果 JS打开页面问题 关于自己写的chrome右键菜单会折叠在一起 span 为什么不能隐藏,实际还是要得到值的 子菜单被页面的下拉菜单覆盖
<!--
function myopen(url)
{
var tmp=window.open(url,"","fullscreen=1")
tmp.moveTo(0,0)
tmp.resizeTo(screen.availWidth,screen.availHeight)
tmp.focus()
}
-->
</script>
<a href="javascript:myopen('xxx.asp?id=123')">click</a>
<OBJECT
codeBase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701
type=application/x-oleobject height=288
standby="Loading Microsoft® Windows® Media Player components..."
width=352 classid=CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95
name=MediaPlayer>
<PARAM NAME="ShowStatusBar" VALUE="false">
<PARAM NAME="ShowTracker" VALUE="false">
<PARAM NAME="FileName" VALUE="">
<PARAM NAME="playcount" VALUE="1">
<PARAM NAME="ClickToPlay" VALUE="false">
<PARAM NAME="EnableContextMenu" VALUE="false">
<PARAM NAME="ShowControls" VALUE="false">
<PARAM NAME="ShowAudioControls" VALUE="false">
<PARAM NAME="ShowPositionControls" VALUE="false">
<PARAM NAME="ShowDisplay=" VALUE="false">
<PARAM NAME="ShowGotoBar=" VALUE="false">
<PARAM NAME="AutoStart" VALUE="True">
<PARAM NAME="AnimationAtStart" VALUE="false">
<embed
type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"
autostart=1 showcontrols=0 clicktoplay=0
enablecontextmenu=0 showaudiocontrols=0
showpositioncontrols=0 showtracker=0 showdisplay=0
showgotobar=0 showstatusbar=0 animationatstart=0 width=352
height=288 src="" vspace="0" hspace="0"
border="0"></embed></OBJECT>***********上面是你的代码。下面不知道是不是你想到的结果。
test.asp:
<script language="javascript">
function aa()
{
document.getElementById("leftFrame").style.width="100%";
document.getElementById("leftFrame").style.height="100%";
frames.leftFrame.document.MediaPlayer.style.width=document.getElementById("leftFrame").style.width
frames.leftFrame.document.MediaPlayer.style.height=document.getElementById("leftFrame").style.height
}
</script>
<IFRAME name=leftFrame src="aassdd.asp" frameBorder=0 width="209" scrolling=no height="348"></IFRAME>
<input type="button" name="b1" value="全屏"onclick="aa()">
是否和网上flash的全屏播放一样?
size=3