DZ3.5如何设置版块默认为折叠状态 New
默认都是展开的 想要默认折叠起来的
以下是我的模板里面的部分代码
- <!--{if $detailstatus}--> <span class="o"><a href="forum.php?showoldetails=no#online" title="{lang spread}"><img src="$_G['style'][styleimgdir]/discuz/collapsed_no.gif" alt="{lang spread}" /></a></span> <h3> <strong><a href="home.php?mod=space&do=friend&view=online&type=member">{lang onlinemember}</a></strong> <span class="xs1">- <strong>$onlinenum</strong> {lang onlines} - <strong>$membercount</strong> {lang index_members}(<strong>$invisiblecount</strong> {lang index_invisibles}), <strong>$guestcount</strong> {lang index_guests} - {lang index_mostonlines} <strong>$onlineinfo[0]</strong> {lang on} <strong>$onlineinfo[1]</strong>.</span> </h3> <!--{else}--> <!--{if empty($_G['setting']['sessionclose'])}--> <span class="o"><a href="forum.php?showoldetails=yes#online" title="{lang spread}"><img src="$_G['style'][styleimgdir]/discuz/collapsed_yes.gif" alt="{lang spread}" /></a></span> <!--{/if}--> <h3> <strong> <!--{if !empty($_G['setting']['whosonlinestatus'])}--> {lang onlinemember} <!--{else}--> <a href="home.php?mod=space&do=friend&view=online&type=member">{lang onlinemember}</a> <!--{/if}--> </strong> <span class="xs1">- {lang total} <strong>$onlinenum</strong> {lang onlines} <!--{if $membercount}-->- <strong>$membercount</strong> {lang index_members},<strong>$guestcount</strong> {lang index_guests}<!--{/if}--> - {lang index_mostonlines} <strong>$onlineinfo[0]</strong> {lang on} <strong>$onlineinfo[1]</strong>.</span> </h3> <!--{/if}--> </div>