update the url jump page

This commit is contained in:
Li Jianxuan 2013-04-25 07:58:13 +00:00
parent 02bf73efed
commit 5024e93c69
1 changed files with 10 additions and 5 deletions

View File

@ -11,10 +11,12 @@ $.ajax({
window.location.href="<?= $this->url ?>";
},
'beforeSend':function(){
$('#loading').css("width",'40%');
},
'complete':function(){
window.location.href="<?= $this->url ?>";
window.location.href="<?= $this->url ?>";
$('#loading').css("width",'100%');
$('.hero-unit').append('<a href="<?= $this->url ?>" class="btn btn-primary">如果没有跳转请点击这里</a>');
},
'timeout': 20000,
'error': function(){
@ -29,7 +31,10 @@ $(location).attr("href",url);
</script>
<?php } ?>
<div class="row-fluit">
<div class="hero">
系统正在为您跳转
</div>
<div class="hero-unit">
<h2>系统正在为您跳转......</h2>
<div class="progress progress-striped active">
<div class="bar" id="loading" style="width:20%;"></div>
</div>
</div>
</div>