Thu Aug 25, 2011 8:51 pm
Dislay - Templates - QLTT - index_box:
Thay đoạn code này hoặc gần giống thế
Bằng đoạn này:
(thử thay vào chỗ dấu + xem nha)
Sau đó, thay đoạn:
...bằng đoạn code sau:
Thay đoạn code này hoặc gần giống thế
- Code:
<!-- BEGIN catrow --><!-- BEGIN tablehead --><table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
Bằng đoạn này:
- Code:
<script type="text/javascript">var num= 0;</script>
<!-- BEGIN catrow --><!-- BEGIN tablehead --><table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr id="currenttr" onClick="i= 0; e=this.parentNode.childNodes; while(++i<e.length) if(e[i].tagName=='TR') e[i].style.display=(e[i].style.display=='none')?'':'none'; retour=(my_getcookie(this.id)=='true')?'false':'true'; my_setcookie(this.id,retour, 1, 0);" style="cursor:pointer;">
(thử thay vào chỗ dấu + xem nha)
Sau đó, thay đoạn:
- Code:
<!-- BEGIN tablefoot -->
</table>
...bằng đoạn code sau:
- Code:
<!-- BEGIN tablefoot -->
</table><script type="text/javascript"> document.getElementById('currenttr').id='trfrm'+num; if(my_getcookie('trfrm'+num)=='true') { i= 0; e=document.getElementById('trfrm'+num).parentNode.childNodes; while(++i<e.length) if(e[i].tagName=='TR')e[i].style.display='none'; } num++;</script>