[Hỏi đáp] Cách làm danh sách nhóm thẳng hàng

  Bài viết hay nhất1
Hỏi: admin giúp nhóm chuyên mục thẳng hàng như devs nha

Đáp: https://devs.forumvi.com/t122-hoi-dap-nhom-thang-hang?showpost=p777
  Bài viết hay nhất2
Thêm vào CSS:
Code:
#legend{border-top:1px solid #F3F3F3;line-height:20px;height:84px;padding:10px 0}
#legend b{display:block;width:25%;float:left;padding:0 10px}
#legend b:before{content:"[ "}
#legend b:after{content:" ]"}


Index_body - Tìm:
Code:
<p>{LEGEND} : {GROUP_LEGEND}</p>

Sửa thành:
Code:
<p id="legend">{GROUP_LEGEND}</p>
<script type="text/javascript">//<![CDATA[$("#legend").prepend($("#legend a").length + " ").contents().filter(function(){return this.nodeType === 3;}).remove();//]]></script>
You cannot reply to topics in this forum