nguyenvietxuan88
Tổng số bài gửi : 165 Điểm tích lũy : 4802 Thích : 2 Tham gia : 15/03/2012
| Tiêu đề: Nút thank ko chuyển trang Mon Jun 03, 2013 12:41 pm | |
| 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 vào cuối codes sau: - 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> | |
|