逐梦论坛's Archiver

蚂蚁 发表于 2006-7-7 22:04

[小修改]leadbbs导航栏的一些添加方式

问题来源:http://w.leadbbs.com/a/a.asp?b=8&id=2389379

修改文件:inc/board_popfun.asp
蓝色为原代码,红色为添加代码

[color=blue]        mnl();
        mn1(1);
        var tu="user/boardstyle.asp?b=<%=gbl_board_id%>&s=";<%
        for temp = 0 to def_boardstylestringnum
                response.write "        mn(tu+""" & temp & """,""" & def_boardstylestring(temp) & """);" & vbcrlf
        next%>
        mn2(1,tu,"风格");[/color]

[color=red]/*任意添加转行导航栏,下拉式范例*/
        document.write("<br>");              //不转行则删除这句
        mn1(5);
        mn("user/help/cal.asp","千娇论坛万年历");
        mn("user/help/color.asp","颜色对照表");
        mn2(5,"user/help/cal.asp","论坛新加")

/*任意添加转行导航栏,单独式范例*/
        mnl();
        document.write("<a href=http://qjpz.com/bbs/user/myinfobox.asp target=_blank title=[文字说明·这里可要可不要]>单独式样</a>");

/*任意添加转行导航栏,下拉弹出式范例*/
        mnl();
        mn1(6);
        mn("user/help/cal.asp\" target=\"_blank","千娇论坛万年历");
        mn("user/help/color.asp\" target=\"_blank","颜色对照表");
        mn2(6,"user/help/cal.asp\" target=\"_blank","弹出式样")

        mnl();
        mn1(7);
        mn("user/help/cal.asp","千娇论坛万年历");
        mn("user/help/color.asp","颜色对照表");
        mn2(7,"user/help/cal.asp","论坛新加")[/color]

[color=blue]                                <%
                                end if%>
        </script>[/color]

shillan 发表于 2006-7-8 19:20

[EM02][EM03]

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.