产品使用及交流论坛

首页 » 产品使用交流区 » 安装及使用交流 » PG网页-脚本-语法错误-求助!!
dgxyoil - 2010/1/30 12:14:00
各位好!
我的PG网页每个页都提示有错误:
脚本错误
行:27
字符:1
代码:0
错误:Syntax error
我查看源码数了一下,应该是下面这行有问题:
<script language="javascript">
<!--
var CurrentMenu_Id="1";
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
1
查看完整版本: PG网页-脚本-语法错误-求助!!