PageAdmin网站内容管理系统(CMS)交流论坛

首页 » PageAdmin使用区 » 安装及使用交流 » 老大,再问一个,产品中心导航调用。。。
leoken - 2009/7/31 11:35:00
老大,我想要在首页页面的左侧导航,调用“产品中心”里面的产品导航列表,怎么做呢,有代码吗,我没有找到。。。
xiyou - 2009/7/31 17:11:00
首页直接采用自定义链接,或者直接复制产品中心对应导航源代码到自定义内容中
leoken - 2009/8/1 9:57:00
老大,我在“查看---源文件”里找到了下面这个代码,复制到首页左侧导航“产品中心”的js调用里,但是不管用,是不是我的代码不对,你帮我看看(公布一下正确的产品导航js代码给俺,谢谢啦:) ):
<script language="javascript">
<!--
var CurrentMenu_Id="4";
var LastMenu_Id="9";
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>
1
查看完整版本: 老大,再问一个,产品中心导航调用。。。