<html>
<! Copyright (c) Anpson Elec Corp., 2003. All Rights Reserved. ->
<head>
<meta http-equiv="Content-Type" content="text/html">
<title>Anpson</title>
</head><body topmargin="0" leftmargin="0">
<form name="tf1"><div align="center">
<table border="0" cellspacing="0" cellpadding="0" id = "table" >
<tr>
<td valign="top" colspan="2"><OBJECT ID="DvsPlugin" CLASSID=clsid:d1d82f24-a7a2-4152-91c6-f1b7bd7c5151 CODEBASE="DvsPlugin.cab"
standby="Waiting..." ALIGN="top" WIDTH=938 HEIGHT=618 >
<PARAM NAME="port" VALUE="7007">
</OBJECT><script language="javascript">
var play = document.getElementById("DvsPlugin");
play.IpAddr =location.hostname;
if (screen.width<=800)
{
table.width=1004;
table.height=600;
DvsPlugin.width=1004;
DvsPlugin.height=600;
}
else
{
table.width=screen.width - 22;
table.height=screen.height - 166;
DvsPlugin.width=screen.width - 22;
DvsPlugin.height=screen.height - 166;
}
</script>
</td>
</tr>
</table>
</div>
</form>
<A HREF="DvsPlugin.cab"> 下载插件</A>
</body>
</HTML>错误提示:
Line:35
Char:5
Code:0
Error:'DvsPlugin' 未定义
网址:file://C:\Documents and Settings\dell\My Documents\plugin.htm该如何解决?
<! Copyright (c) Anpson Elec Corp., 2003. All Rights Reserved. ->
<head>
<meta http-equiv="Content-Type" content="text/html">
<title>Anpson</title>
</head><body topmargin="0" leftmargin="0">
<form name="tf1"><div align="center">
<table border="0" cellspacing="0" cellpadding="0" id = "table" >
<tr>
<td valign="top" colspan="2"><OBJECT ID="DvsPlugin" CLASSID=clsid:d1d82f24-a7a2-4152-91c6-f1b7bd7c5151 CODEBASE="DvsPlugin.cab"
standby="Waiting..." ALIGN="top" WIDTH=938 HEIGHT=618 >
<PARAM NAME="port" VALUE="7007">
</OBJECT><script language="javascript">
var play = document.getElementById("DvsPlugin");
play.IpAddr =location.hostname;
if (screen.width<=800)
{
table.width=1004;
table.height=600;
DvsPlugin.width=1004;
DvsPlugin.height=600;
}
else
{
table.width=screen.width - 22;
table.height=screen.height - 166;
DvsPlugin.width=screen.width - 22;
DvsPlugin.height=screen.height - 166;
}
</script>
</td>
</tr>
</table>
</div>
</form>
<A HREF="DvsPlugin.cab"> 下载插件</A>
</body>
</HTML>错误提示:
Line:35
Char:5
Code:0
Error:'DvsPlugin' 未定义
网址:file://C:\Documents and Settings\dell\My Documents\plugin.htm该如何解决?
解决方案 »
- [求助]请问html文档后面加个问号的是什么技术?
- 读xml文件 的值
- type="file" 通过click选择文件后,通过一个按钮触发表单提交时,file输入框被清空,请求解决。。
- js 得到table中td的实际位置 【js高手帮帮忙】
- Ext 直接请求action 怎么配置?
- 一个数组,为什么会卡呢?
- 商品对比功能的js功能,在线等
- 在IE6.0的浏览器下select控件支持selected属性吗
- 图片"分页滚动",来着有分,将奉送2008-1-1号之前所有赚到的分数
- ???选择框的READONLY好像没有效果???
- showModalDialog页面提交问题(急)
- 如何对JSP列表的一个数字字段进行页面合计(对已合计的字段再合计)
standby="Waiting..." ALIGN="top" WIDTH=938 HEIGHT=618 >
<PARAM NAME="port" VALUE="7007">
</OBJECT> 路径错了.
<div id='div1'></div>
<form>
<div id='div2'></div>
</form>
<script language='javascript'>
alert(typeof div1);
alert(typeof div2);
</script>放在form中间的对象是不能直接用ID来访问的。