关于用javascript,运行时提示jscrpt错误

tanyuheng 2004-04-09 09:16:51
我用Dreamweaver显示弹出菜单时,用的是javascript,而用Interdever调试时,出现的jscript错误,显示缺少对象,何故?还请高手指教!
...全文
29 点赞 收藏 5
写回复
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
tanyuheng 2004-04-11
贴了代码怎么没有人解答了啊
回复
swich 2004-04-09
代码贴出来啊
回复
yinxiong2002 2004-04-09
帖代码
回复
stefli 2004-04-09
显示缺少对象???
帖代码
回复
tanyuheng 2004-04-09
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>表格</title>
<script language="JavaScript" src="mm_menu.js">
<!--
function mmLoadMenus() {
if (window.mm_menu_0409084255_0) return;
window.mm_menu_0409084255_0 = new Menu("root",50,18,"",12,"#000000","#FFFFFF","#CCCCCC","#000084","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0409084255_0.addMenuItem("模板","location='scoll.htm'");
mm_menu_0409084255_0.hideOnMouseOut=true;
mm_menu_0409084255_0.bgColor='#555555';
mm_menu_0409084255_0.menuBorder=1;
mm_menu_0409084255_0.menuLiteBgColor='#FFFFFF';
mm_menu_0409084255_0.menuBorderBgColor='#777777';

mm_menu_0409084255_0.writeMenus();
} // mmLoadMenus()
//-->
</script>
<script language="JavaScript" src="mm_menu.js"></script>
</head>

<body>
<script language="JavaScript1.2">mmLoadMenus();</script>
<p><a href="javascript:;" name="link1" id="link1" style="text-decoration:none; color:black"
onMouseOver="MM_showMenu(window.mm_menu_0409084255_0,49,10,null,'link1')"
onMouseOut="MM_startTimeout();">弹出菜单地方</a></p>
</body>
</html>
回复
发动态
发帖子
ASP
创建于2007-09-28

2.8w+

社区成员

ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
申请成为版主
社区公告
暂无公告