TA的每日心情 | 奋斗 2013-11-21 13:33 |
---|
签到天数: 19 天 [LV.4]偶尔看看III
普通用户
|
楼主 |
发表于 2013-11-3 17:16:14
|
显示全部楼层
下面是网页代码,看不明白:
<html>
<head>
<title>iView</title>
<SCRIPT>
function workaround()
{
window.document.all.item("ocx").style.display = "none"
window.document.all.item("ocx").style.display = ""
}
</SCRIPT>
</head>
<form name=activex ><WINDWEB_URL>
<input type=hidden name=url>
</form>
<body topmargin="0" leftmargin="0" onscroll="workaround();" bgcolor="#f2f2f2">
<div align="center">
<table border="0" cellspacing="0" cellpadding="0" id = "table">
<tr>
<td width="100%" height="100%" bgcolor="#294552" valign="middle" colspan="2">
<p align="center">
<object classid="clsid:7B43048F-DA7A-458F-AF35-D825BDBB6816" codebase="../codebase/NetVideoOCX.cab#version=2,2,3,15"
standby="Waiting..." id="NetOCX" width="100%" height="100%" name="ocx" align="center" style="bgcolor:#294552">
</object>
<script language="javascript">
document.activex.url.value=document.URL
//document.activex.url.value="172.7.144.2"
var OCXobj = document.getElementById("NetOCX");
OCXobj.SetServerIP(activex.url.value)
if (screen.width<=800)
{
table.width=1004;
table.height=600;
}
else
{
table.height="110%";
table.width="100%";
}
</script>
</td>
</tr>
<center>
</table>
</div>
</body>
</html>
|
|