更改

跳转至: 导航搜索

Widget:FileChanges/zh

添加641字节2019年10月9日 (三) 00:24
创建页面,内容为“<pre> <p style="font-size: 120%"><b>文件修改记录</b><b class="fc-button" style="float: right" onclick="fcShowHide()">[收起]</b></p> <div class="fc-content" s…”
<pre>
<p style="font-size: 120%"><b>文件修改记录</b><b class="fc-button" style="float: right" onclick="fcShowHide()">[收起]</b></p>
<div class="fc-content" style="display: block"><!--{$content}--></div>
</pre>

<script type="text/javascript">
function fcShowHide() {
var fcContent = document.getElementsByClassName("fc-content")[0],
fcButton = document.getElementsByClassName("fc-button")[0];
if (fcContent.style.display == "block") {
fcContent.style.display = "none";
fcButton.innerHTML = "[展开]";
} else {
fcContent.style.display = "block";
fcButton.innerHTML = "[收起]";
};
}
fcShowHide();
</script>
3,424
个编辑

导航菜单