各位好!
我的PG网站做好了,但网页的每一页都会显示有错误,提示如下:
行: 27
字符: 1
代码: 0
错误: Syntax error
我点-查看源代码,数了一下 第27行应该是下面这个脚本代码有语法错误,但我不懂,所以列出来请大家帮我看看:
<script language="javascript">
<!--
var CurrentMenu_Id="4";
var LastMenu_Id="15";
var Menu_Id="Menu_"+CurrentMenu_Id;
if(CurrentMenu_Id!="" && document.getElementById(Menu_Id)!=null)
{
if(CurrentMenu_Id==LastMenu_Id)
{
document.getElementById(Menu_Id).className="menu_current_1_last";
}
else
{
document.getElementById(Menu_Id).className="menu_current_1";
}
}
-->
</script>
多谢指点,:错误在哪儿? 要修改哪个文件? 查看有错误的网站 中国万能 : http://www.omnipo.hk