Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

《广州家园》模版如何添加一级导航下拉菜单的代码?

[复制链接]
yndhzax 发表于 2010-10-9 16:53:00 | 显示全部楼层 |阅读模式
本帖最后由 yndhzax 于 2010-10-9 17:17 编辑






如何在一级导航上某个菜单加个下拉菜单的代码?


现在导航上的代码如下:
  1. <ul class="nav_hd_ul">
  2. <li id="index" {if $_G['basescript'] == 'portal'} class="current"{/if}><a href="portal.php" title="网站首页"><span>首页</span></a></li> <li{if $_G['basescript'] == 'forum'} class="current"{/if}><a href="forum.php" title="论坛"><span>论坛</span></a></li>
  3. <li{if $_G['basescript'] == 'group'} class="current"{/if}><a href="group.php" title="用户群组"><span>群组</span></a></li>
  4. <li{if $_G['basescript'] == 'home'} class="current"{/if}><a href="home.php" title="网友家园"><span>家园</span></a></li>
  5. <li{if $_G['basescript'] == 'userapp'} class="current"{/if}><a href="userapp.php" title="游戏应用"><span>游戏</span></a></li>
  6. <li{if $_G['basescript'] == 'tools'} class="current"{/if}><a href="plugin.php?id=tiyuba:tv" title="网络电视"><span>电视</span></a></li>
  7. <li{if $_G['basescript'] == 'tools'} class="current"{/if}><a href="plugin.php?id=piaoliu:piaoliu" title="漂流瓶"><span>漂流瓶</span></a></li>
  8. <li{if $_G['basescript'] == 'tools'} class="current"{/if}><a href="huabao.html" title="导购画报"><span>画报</span></a></li>
  9. <li{if $_G['basescript'] == 'misc'} class="current"{/if}><a href="plugin.php?id=moodwall:moodwall" title="心情墙"><span>心情墙</span></a></li>
  10. <li{if $_G['basescript'] == 'tuan'} class="current"{/if}><a href="bbx.php" title="生活百宝箱"><span>百宝箱</span></a></li>
  11. <li{if $_G['basescript'] == 'misc'} class="current"{/if}><a href="misc.php?mod=ranklist" title="排行榜"><span>排行榜</span></a></li>
  12. </ul>
复制代码


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
 楼主| yndhzax 发表于 2010-10-9 17:09:51 | 显示全部楼层
回复

使用道具 举报

 楼主| yndhzax 发表于 2010-10-9 17:18:02 | 显示全部楼层
回复

使用道具 举报

看不见未来 发表于 2010-10-9 17:23:28 | 显示全部楼层
我也很想知道
回复

使用道具 举报

Chavid 发表于 2010-10-9 17:52:47 | 显示全部楼层
回复

使用道具 举报

 楼主| yndhzax 发表于 2010-10-9 17:53:14 | 显示全部楼层
回复

使用道具 举报

 楼主| yndhzax 发表于 2010-10-9 18:15:54 | 显示全部楼层
回复

使用道具 举报

 楼主| yndhzax 发表于 2010-10-9 20:37:24 | 显示全部楼层
回复

使用道具 举报

easyker 发表于 2010-10-9 22:49:44 | 显示全部楼层
晕 这么简单~~笨

后后台界面=导航   创建一个一级栏目 再创建二级栏目   一级栏目选择为下拉菜单
回复

使用道具 举报

 楼主| yndhzax 发表于 2010-10-9 23:35:25 | 显示全部楼层
easyker 发表于 2010-10-9 22:49
晕 这么简单~~笨

后后台界面=导航   创建一个一级栏目 再创建二级栏目   一级栏目选择为下拉菜单

这个在后台是没有用的,这个导航已经重新用代码替代后台的了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-2-24 15:07 , Processed in 0.026084 second(s), 2 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表