|
@@ -37,8 +37,6 @@ $(".next").click(function(){
|
|
|
type: 'post',
|
|
|
data: obj3,
|
|
|
success: function(suc_data) {
|
|
|
-
|
|
|
- window.location.href = suc_data.redirect;
|
|
|
|
|
|
},
|
|
|
|
|
@@ -46,40 +44,7 @@ $(".next").click(function(){
|
|
|
console.error(error)
|
|
|
}
|
|
|
});
|
|
|
- if(animating) return false;
|
|
|
- animating = true;
|
|
|
-
|
|
|
- current_fs = $(this).parent();
|
|
|
- next_fs = $(this).parent().next();
|
|
|
-
|
|
|
- $("#progressbar li").eq($("fieldset").index(next_fs)).addClass("active");
|
|
|
-
|
|
|
-
|
|
|
- next_fs.show();
|
|
|
-
|
|
|
- current_fs.animate({opacity: 0}, {
|
|
|
- step: function(now, mx) {
|
|
|
-
|
|
|
-
|
|
|
- scale = 1 - (1 - now) * 0.2;
|
|
|
-
|
|
|
- left = (now * 50)+"%";
|
|
|
-
|
|
|
- opacity = 1 - now;
|
|
|
- current_fs.css({
|
|
|
- 'transform': 'scale('+scale+')',
|
|
|
- 'position': 'absolute'
|
|
|
- });
|
|
|
- next_fs.css({'left': left, 'opacity': opacity});
|
|
|
- },
|
|
|
- duration: 800,
|
|
|
- complete: function(){
|
|
|
- current_fs.hide();
|
|
|
- animating = false;
|
|
|
- },
|
|
|
-
|
|
|
- easing: 'easeInOutBack'
|
|
|
- });
|
|
|
+
|
|
|
});
|
|
|
|
|
|
$(".previous").click(function(){
|