<?php $fcr=explode(‘|‘,$class_r[$GLOBALS[navclassid]][featherclass]); $topbclassid=$fcr[1]?$fcr[1]:$GLOBALS[navclassid];//取得当前栏目的顶级栏目ID $m = "<script>var fnav=‘#firid‘+$topbclassid;$(fnav).addClass(‘nav01‘);</script>"; echo $m; ?>
时间: 2024-10-12 00:13:10