有一个友链显示隐藏的网页插件,能不能搞一个板块的折叠展开插件? IP:东莞
<script> $(document).ready(function () { if (location.pathname == "/q.php/index.index.html") { $('.forum-list').toggle(); var barclass= document.getElementsByClassName('bar') barclass[1].innerHTML='板块:<a href="#" onclick="$(\'.forum-list\').toggle(); return false">显示/隐藏</a><br>'; } }); </script>
@嚻,我试试,谢了 IP:东莞
@嚻,我试试,谢了
IP:东莞