Forum đề thi casio

Tình hình diễn đàn

Thống kê bài viết mới


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1Nút thank không chuyển trang Empty Nút thank không chuyển trang Tue Aug 30, 2011 5:43 pm

admin

admin
Admin
Admin
Loading
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>

http://www.leducduy.com

View previous topic View next topic Back to top  Message [Page 1 of 1]

Bài viết mới cùng chuyên mục

    Bài viết liên quan vớiNút thank không chuyển trang

      Permissions in this forum:
      You cannot reply to topics in this forum