首页子版块以下拉菜单方式显示!
首先打开 include/index_classics.inc.php 文件查找代码$forumlist[$forum['fup']]['subforums'] .= '<a href="forumdisplay.php?fid='.$forum['fid'].'" '.($forum['extra']['namecolor'] ? ' style="color: ' . $forum['extra']['namecolor'].';"' : '') . '>'.$forum['name'].'</a> ';改为$forumlist[$forum['fup']]['subforums'] .= '<a href="forumdisplay.php?fid='.$forum['fid'].'" '.($forum['extra']['namecolor'] ? ' style="color: ' . $forum['extra']['namecolor'].';"' : '') . '>'.$forum['name'].'</a>';然后打开 include/category.inc.php 文件
查找代码$forumlist[$forum['fup']]['subforums'] .= '<a href="forumdisplay.php?fid='.$forum['fid'].'"><u>'.$forum['name'].'</u></a> ';改为$forumlist[$forum['fup']]['subforums'] .= '<a href="forumdisplay.php?fid='.$forum['fid'].'">'.$forum['name'].'</a>';最后打开 discuz.htm 文件
查找<!--{if $forum['subforums']}--><p>{lang forum_subforums}: $forum['subforums']</p><!--{/if}-->替换为<!--{if $forum['subforums']}--><p><span id="forb$forum" onmouseover="showMenu(this.id)">{lang forum_subforums}</span><ul class="popupmenu_popup headermenu_popup" id="forb$forum_menu" style="display: none">$forum['subforums']</ul></p><!--{/if}-->
页:
[1]