请问下面代码为什么不能在Mozilla上运行

summersunny 2004-11-03 11:25:37
<SCRIPT LANGUAGE="javascript">
<!--
if(N) {
document.write('<layer name="handlayer" left="1" top="1px" width="0px" height="0px" z-index="11" cursor="crosshair" visibility="hide"><img name="hand" border="0" src="' + images[0].src + '" width="27" height="18"></layer>');
document.write('<layer name="overlayer" Z-INDEX="12" LEFT="0px" VISIBILITY="visible" HEIGHT="1197" WIDTH="1150" CURSOR="crosshair" POSITION="absolute" TOP="0">');
document.write('<TABLE height="1197" cellSpacing=0 cellPadding=0 width="1150" border=0><TBODY><TR><TD></TD></TR></TBODY></TABLE></layer>');
handlayerAlias=eval(document.layers["handlayer"]);
}
else {
document.write('<div id="handlayer" style="position:absolute;left:1px;top:1px;width:16px;height:16px;z-index:11;cursor:crosshair;visibility:hidden"><img name="hand" border="0" src="' + images[0].src + '" width="27" height="18"></div>');
document.write('<div id="overlayer" style="Z-INDEX: 12; LEFT: 0px; VISIBILITY: visible; WIDTH: 1150px; cursor:crosshair; POSITION: absolute; TOP: 0px; HEIGHT: 1197px">');
document.write('<TABLE height=1197px cellSpacing=0 cellPadding=0 width=1150px border=0><TBODY><TR><TD></TD></TR></TBODY></TABLE></div>');
document.write('<div id="bubbleLayer" style="Z-INDEX: 8; LEFT: 0px; VISIBILITY: hidden; WIDTH: 130px; cursor:crosshair; POSITION: absolute; TOP: 0px; HEIGHT: 30px">');
document.write('<TABLE height="20" width="90" cellSpacing="0" cellPadding="0" border="2" bordercolor="#30469A" bgcolor="#CBFDFE"><TBODY><TR><TD valign=a"middle" align="center"><img src="' + images[2].src + '" name="bubble" border=0></TD></TR></TBODY></TABLE></div>');
handlayerAlias=eval(document.all["handlayer"].style);
bubbleAlias=eval(document.all["bubbleLayer"].style);
}

document.hand.src = images[0].src;
if (typeof (bubbleAlias) != "undefined"){
if (N) document.captureEvents(Event.MOUSEDOWN | Event.MOUSEMOVE | Event.MOUSEUP);
document.onmousedown = MD;
document.onmousemove = MM;
document.onmouseup = MU;
}
//-->
</script>
...全文
106 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
yyh21m 2004-11-20
  • 打赏
  • 举报
回复
帮顶,拣分

http://community.csdn.net/Expert/topic/3504/3504292.xml?temp=.6006128

10,606

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 其他
社区管理员
  • 其他
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧