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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

发个求助帖子,分栏模式下 下拉菜单的宽度修改问题

[复制链接]
xl75521 发表于 2010-5-10 23:17:39 | 显示全部楼层 |阅读模式
分栏模式下 下拉菜单的宽度修改问题  我找了半天代码 也看不出哪里是修改下拉菜单宽度的 就是我们上网常用的鼠标点击下拉显示或者滚轮实现下拉菜单的宽度?


支持网站 http://bbs.lumixchina.com/
附上我的代码吧 !
希望有高手能帮我一下!
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=$charset" /><title>$navtitle $bbname $seotitle - </title><meta name="keywords" content="{$metakeywords}Discuz!,Board,Comsenz,forums,bulletin board,$seokeywords" /><meta name="description" content="$bbname $seodescription - Discuz! Board" /><meta name="generator" content="Discuz! $version with Templates 5.0.0" /><meta name="MSSmartTagsPreventParsing" content="TRUE" /><meta http-equiv="MSThemeCompatible" content="Yes" /><link rel="archives" title="$bbname" href="{$boardurl}archiver/" />$extrahead<link rel="stylesheet" type="text/css" id="css" href="forumdata/cache/style_{STYLEID}_common.css?{VERHASH}" /><style type="text/css">html { background: #828282; }body {        margin: 0px;        padding: 2px;        background: #828282;        /*background-image: url({IMGDIR}/frame_bg.gif);        background-attachment: fixed;        background-position: right;        background-repeat: repeat-y;*/}.out {        padding: 0.2em;        width: 98%;        height: 100%;        overflow: auto;        text-align: left;        overflow-x: hidden;}.tree {        font: {FONTSIZE} {FONT};        color: {MIDTEXT};        white-space: nowrap;        padding-left: 0.4em;}.tree img {        border: 0px;        vertical-align: middle;}.tree a.node, .tree a.checked {        white-space: nowrap;        padding: 1px 2px 1px 2px;}.tree a.node:hover, .tree a.checked:hover {        text-decoration: underline;}.tree a.checked {        background: {FRAMEBGCOLOR};        color: {TABLETEXT};}.tree .clip {        overflow: hidden;}h1 { padding-left: 10px; font-weight: bold; height: 2.4em; line-height: 2.4em; }h2 { padding-left: 10px; border-bottom: 1px solid #DDD; font-weight: normal; margin-bottom: 2em;}h3 { border: 1px solid {CATBORDER}; padding: 3px 5px; background: {CATCOLOR} no-repeat 3px 50%; margin-top: 2em; padding-top: 0.4em; font-weight: normal;}strong { font-weight: bold; }</style><script type="text/javascript" />var IMGDIR = '{IMGDIR}';var attackevasive = '$attackevasive';</script><script type="text/javascript" src="{$jspath}common.js?{VERHASH}" /></script><script type="text/javascript" src="{$jspath}tree.js?{VERHASH}" /></script><script type="text/javascript" src="{$jspath}iframe.js?{VERHASH}" /></script></head><body><div class="out"><h1>$bbname</h1><h2><!--{if $discuz_uid}-->        <span style="font-weight: bold;"><a href="space.php?uid=$discuz_uid" target="_blank">$discuz_userss</a>&nbsp;</span> <a href="###" onClick="parent.main.location = 'logging.php?action=logout&formhash={FORMHASH}&referer=' + parent.main.location">[{lang logout}]</a><!--{else}-->        <strong>{lang guest}:&nbsp;</strong><a href="$regname" target="main" onClick="this.href += '?referer='+ escape(parent.main.location)">[$reglinkname]</a> <a href="logging.php?action=login" target="main" onClick="this.href += '&referer='+ escape(parent.main.location)">[{lang login}]</a><!--{/if}--></h2><script type="text/javascript">var tree = new dzTree('tree');tree.addNode(0, -1, '{lang leftmenu_index}', '$indexname', 'main', true);tree.addNode(99999999, 0, '{lang show_newthreads}', 'search.php?srchfrom=87000&searchsubmit=yes', 'main', true);<!--{loop $forumlist $forumdata}-->        <!--{if $forumdata['type'] == 'group'}-->                <!--{if $haschild[$forumdata['fid']]}-->                        tree.addNode($forumdata[fid], $forumdata[fup], '$forumdata[name]', 'index.php?gid=$forumdata[fid]', 'true', true);                <!--{/if}-->        <!--{else}-->                tree.addNode($forumdata[fid], $forumdata[fup], '$forumdata[name]', 'forumdisplay.php?fid=$forumdata[fid]', 'main', true);        <!--{/if}--><!--{/loop}-->tree.show();</script><h3>{lang index_activeusers}: <a href="member.php?action=online" target="main"><strong id="onlinenum"></strong>&nbsp;{lang index_users}</a></h3></div><script type="text/javascript">ajaxget('misc.php?action=getonlines&inajax=1', 'onlinenum');window.setInterval("ajaxget('misc.php?action=getonlines&inajax=1', 'onlinenum', '')", 180000);</script></body></html>{eval output();}
复制代码
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2024-11-21 02:32 , Processed in 0.026965 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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