1、打开 post 模板,找到第一个:
[CSS] 纯文本查看 复制代码 <div class="columntype">
在上边加:
[CSS] 纯文本查看 复制代码 <!--隐藏附加选项-->
<label type="button" value="1" id="btn_fj" onclick="btn()" style="cursor: pointer;margin-right: 3px;height: 21px;border: 1px solid #CDCDCD;line-height: 28px;white-space: nowrap;">
<span style="line-height: 21px;padding: 0 8px 0 20px;background: url(http://www.discuz.net/static/image/common/dot.gif) no-repeat 8px 6px;">附加选项</span>
</label>
<div id="box_fj" style="display:none;" >
2、然后接着找到:
[CSS] 纯文本查看 复制代码 <div class="btnbar">
在上边加:
[CSS] 纯文本查看 复制代码 <script type="text/javascript">
var btn1=document.getElementById('btn_fj');
var box1=document.getElementById('box_fj');
function btn(){ if(btn1.value=="1"){box1.style.display='none';btn1.value="2";
}else{box1.style.display='';btn1.value="1";
}
}
</script>
</div>
<!--隐藏附加选项end-->
|