如果是用后台的JS生成的导航话,找到admin/ks.TreeMenu.asp文件188行处修改红色代码处
Function TreeList()
Dim RS,TreeStr,ID,i,Param
If KS.S("ChannelID")<>"0" Then Param=" and B.ChannelID=" & KS.ChkCLng(KS.S("ChannelID"))
TreeStr="document.writeln('<img src=""" & KS.Setting(3) & "images/tree/home.gif"" align=""absmiddle""><a href=""/"">网站首页</a>');" & vbcrlf
Set RS=Server.CreateObject("ADODB.Recordset")
RS.Open ("select ID,FolderName from KS_Class A,KS_Channel B Where A.ChannelID=B.ChannelID And B.ChannelStatus=1 And tj=1" & Param & " Order BY A.ChannelID, FolderOrder ASC"), Conn, 1, 1
Do While Not RS.EOF
i=i+1:ID = Trim(RS(0))
if i=rs.recordcount then
再重新生成一下
[此贴子已经被作者于2007-12-17 17:42:30编辑过]