|
|
|
|
@ -1,15 +1,15 @@ |
|
|
|
|
$(document).ready(function () { |
|
|
|
|
var controller = $.superscrollorama({ |
|
|
|
|
triggerAtCenter: true, |
|
|
|
|
//playoutAnimations: true,
|
|
|
|
|
reverse:false |
|
|
|
|
}); |
|
|
|
|
controller.addTween('#quote-strip', |
|
|
|
|
TweenMax.from($('#quote-strip'), .3, {css:{opacity:0}})); |
|
|
|
|
controller.addTween('#event-program-strip', |
|
|
|
|
TweenMax.from($('#event-program-strip'), .5, {css:{opacity:0}})); |
|
|
|
|
controller.addTween('#footer', |
|
|
|
|
TweenMax.from($('#footer'), .5, {css:{opacity:0}})); |
|
|
|
|
// var controller = $.superscrollorama({
|
|
|
|
|
// triggerAtCenter: true,
|
|
|
|
|
// //playoutAnimations: true,
|
|
|
|
|
// reverse:false
|
|
|
|
|
// });
|
|
|
|
|
// controller.addTween('#quote-strip',
|
|
|
|
|
// TweenMax.from($('#quote-strip'), .3, {css:{opacity:0}}));
|
|
|
|
|
// controller.addTween('#event-program-strip',
|
|
|
|
|
// TweenMax.from($('#event-program-strip'), .5, {css:{opacity:0}}));
|
|
|
|
|
// controller.addTween('#footer',
|
|
|
|
|
// TweenMax.from($('#footer'), .5, {css:{opacity:0}}));
|
|
|
|
|
$(".modal-dialog .btn").on("click", function(){ |
|
|
|
|
$(this).closest(".modal-content").find("form").submit(); |
|
|
|
|
return false; |
|
|
|
|
@ -33,9 +33,10 @@ $(document).ready(function () { |
|
|
|
|
if(data.message.length){ |
|
|
|
|
$this.fadeOut("fast",function(){ |
|
|
|
|
$loader.hide(); |
|
|
|
|
$button.fadeOut(); |
|
|
|
|
|
|
|
|
|
$message.text(data.message).appendTo($modalBody); |
|
|
|
|
}); |
|
|
|
|
$button.fadeOut(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
); |
|
|
|
|
|