Commit b0159bc4a94fddcc26cdf022a354966bf7953670
1 parent
b3ba9cf2
modal styles and script
Showing
3 changed files
with
13 additions
and
0 deletions
Show diff stats
css/modal.css
js/modal.js
... | ... | @@ -54,5 +54,16 @@ $( |
54 | 54 | $(".overlay-new").click(function(){ |
55 | 55 | $(".close").click(); |
56 | 56 | }); |
57 | + $("#success-modal button.btn.btn-template-primary").click(function(){ | |
58 | + $(".close").click(); | |
59 | + $('#success_form').animate({opacity: 0, top: '0'}, 200,function(){ | |
60 | + $(this).css('display', 'none'); | |
61 | + $(this).css({top:'50%'}); | |
62 | + }); | |
63 | + $('#success-modal').animate({opacity: 0, top: '0'}, 200,function(){ | |
64 | + $(this).css('display', 'none'); | |
65 | + $(this).css({top:'50%'}); | |
66 | + }); | |
67 | + }); | |
57 | 68 | } |
58 | 69 | ); |
59 | 70 | \ No newline at end of file | ... | ... |