fixed ie6 url jump bug

This commit is contained in:
Li Jianxuan 2013-04-26 07:31:08 +00:00
parent 4c41d4ebe8
commit 91bdc31f2d
1 changed files with 5 additions and 1 deletions

View File

@ -12,10 +12,11 @@ $.ajax({
window.location.href="<?= $this->url ?>";
},
'beforeSend':function(){
$('#loading').html('<img src="/static/img/loadingAnimation.gif" />');
},
'complete':function(){
window.location.href="<?= $this->url ?>";
$('#loading').html('<a href="<?= $this->url ?>">如果没有跳转请点击这里</a>');
},
'timeout': 20000,
'error': function(){
@ -32,5 +33,8 @@ $(location).attr("href",url);
<div class="row-fluit">
<div class="hero" style="font-size:16px;text-align:center;">
系统正在为您跳转
</div>
<div id="loading" style="text-align:center">
</div>
</div>