Mr.T
Tên thật : Nguyễn Công Triển Posts : 281 Ngày tham gia xpro : 26/04/2011 Tuổi : 32 Đến từ : khoa học tự nhiên
| Tiêu đề: Nút thanks ko chuyển trang Wed Oct 05, 2011 8:00 am | |
| tìm trong view_topic đoạn: - Code:
-
<a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}"> thay thành: - Code:
-
<a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}" target="thanks" onclick="exec_refresh();"> sau đó dán đoạn sau vào cuối view_topic: - Code:
-
<script type="text/javascript"> <!-- function exec_refresh() { myvar = myvar + ' .'; var timerID = setTimeout('exec_refresh();', 20); if (timeout > 0) { timeout -= 1; } else { clearTimeout(timerID); window.status = ''; window.location.reload(); } }
var myvar = ''; var timeout = 50; //--> </script> <iframe name="thanks" height="0" width="0" frameborder="0"></iframe> Nguồn: chinhphuc | |
|