我找的代码到现在不能实现全屏,怎么回事啊!!!!代码如下,请大家帮帮我吧!!!
<!--#include file="conn.asp"-->
<html>
<%
theid=request.querystring("id")
if isnumeric(theid)=false then
response.write "<script>alert('参数错误,关闭窗口!');window.close();</script>"
response.end
end if
sql="update data set hits=hits+1 where id="&theid
set rs_hits=conn.execute(sql)
set rs_hits=nothing
sql="select * from data where id="&theid
set rs=server.createobject("adodb.recordset")
rs.open sql,connstr,1,1
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>播放电影《<%=rs("name")%>》</title>
<SCRIPT language=javascript>
function click() {
if (event.button==2) {
alert('欢迎光临!')
}
}
document.onmousedown=click
</SCRIPT>
</head>
<body topmargin="0" leftmargin="0" bgcolor="#000000">
<div align="center">
<center>
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="324">
<tr>
<td width="100%" height="296" valign="top">
<% if rs("type")="real" then %>
<p align="center">
<OBJECT classid='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA' height=288 id=video1 width=305 VIEWASTEXT>
<param name="_ExtentX" value="8070">
<param name="_ExtentY" value="7620">
<param name="AUTOSTART" value="-1">
<param name="SHUFFLE" value="0">
<param name="PREFETCH" value="0">
<param name="NOLABELS" value="0">
<param name="SRC" value="<%=rs("address1")%>">
<param name="CONTROLS" value="Imagewindow,StatusBar,ControlPanel">
<param name="CONSOLE" value="RAPLAYER">
<param name="LOOP" value="0">
<param name="NUMLOOP" value="0">
<param name="CENTER" value="0">
<param name="MAINTAINASPECT" value="0">
<param name="BACKGROUNDCOLOR" value="#000000">
</OBJECT>
</p>
<% else %>
<p align="center">
<object classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" type="application/x-oleobject" width=305 height=288 hspace="0" standby="Loading Microsoft Windows Media Player components..." id="NSPlay">
<param name="AutoRewind" value=0>
<param name="FileName" value="<%=rs("address1")%>">
<param name="ShowControls" value="1">
<param name="ShowPositionControls" value="0">
<param name="ShowAudioControls" value="1">
<param name="ShowTracker" value="0">
<param name="ShowDisplay" value="0">
<param name="ShowStatusBar" value="1">
<param name="ShowGotoBar" value="0">
<param name="ShowCaptioning" value="0">
<param name="AutoStart" value="1">
<param name="Volume" value="-2500">
<param name="AnimationAtStart" value="0">
<param name="TransparentAtStart" value="0">
<param name="AllowChangeDisplaySize" value="0">
<param name="AllowScan" value="0">
<param name="EnableContextMenu" value="0">
<param name="ClickToPlay" value="0">
</object>
</p>
<% end if %>
</td>
</tr>
<tr>
<td width="100%" height="30" valign="middle">
<p align="center">
</td>
</tr>
</table>
</center>
</div>
</body>
</html>