问题:.currclass经测试只能在一级导航中,二级导航会全部输出为.currclass
8.05版本没有问题!
打开Kesion.Label.FunctionCls.asp找到如下代码
-
If FCls.RefreshFolderID=ClassID or (UCase(FCls.RefreshType) = "INDEX" and kk=0) Then echo " <li class=""currclass"""&KS.GetCssID(LIID)&KS.GetCss(LICss)&">" '增加第一级导航判断 ElseIf Instr(KS.C_C(Fcls.RefreshFolderID,8),",")<>0 And Instr(Node.SelectSingleNode("@ts").text,",")<>0 then if Split(Node.SelectSingleNode("@ts").text,",")(0)=Split(KS.C_C(Fcls.RefreshFolderID,8),",")(0) Then echo " <li class=""currclass"""&KS.GetCssID(LIID)&KS.GetCss(LICss)&">" else echo " <li"&KS.GetCssID(LIID)&KS.GetCss(LICss)&">" end if '=========== Else echo " <li"&KS.GetCssID(LIID)&KS.GetCss(LICss)&">" End If