注册 登录
编程论坛 WEB前端(UI)

脚本发生错误 行 20

missfhapple 发布于 2006-04-03 21:55, 574 次点击

缺少 ";" 之类的~~~
行 20
字符 2
URL
file://C:\Documents and Settings\Happy\Local Settings\Temporary Internet Files\FrontPageTempDir\pvw3D.htm


请问以上提示能看出什么来啊,什么行,字符的
高手们帮帮忙啦,好急~~~十分感激~~
代码:
20 document.write("<div id='dypopLayer' style='position:absolute;z-index:1000;' class='cPopText'></div>");


附近代码://***********默认设置定义.*********************
tPopWait=0;//停留tWait豪秒后显示提示。
tPopShow=5000;//显示tShow豪秒后关闭提示
showPopStep=20;
popOpacity=99;

//***************内部变量定义*****************

1px; filter: Alpha(Opacity=0)}");
document.write("</style>");
document.write("<div id='dypopLayer' style='position:absolute;z-index:1000;' class='cPopText'></div>");
function showPopupText(){
var o=event.srcElement;
MouseX=event.x;
MouseY=event.y;
if(o.alt!=null && o.alt!=""){o.dypop=o.alt;o.alt=""};
if(o.title!=null && o.title!=""){o.dypop=o.title;o.title=""};
if(o.dypop!=sPop) {
sPop=o.dypop;
clearTimeout(curShow);
clearTimeout(tFadeOut);
clearTimeout(tFadeIn);
clearTimeout(tFadeWaiting);
if(sPop==null || sPop=="") {
dypopLayer.innerHTML="";
dypopLayer.style.filter="Alpha()";
dypopLayer.filters.Alpha.opacity=0;
}
else {
if(o.dyclass!=null) popStyle=o.dyclass
else popStyle="cPopText";
curShow=setTimeout("showIt()",tPopWait);
}
}
}

[此贴子已经被作者于2006-4-3 21:58:00编辑过]

1 回复
#2
盖茨他爹2006-04-03 22:07
20 document.write("<div id='dypopLayer' style='position:absolute;z-index:1000;' class='cPopText'></div>");

确定这是20行吗,最好把代码压缩传上来
1