comparison static/js/sat_website.js @ 34:9d553570cc61

add adhesion_form.html and thank_you.html
author souliane <souliane@mailoo.org>
date Tue, 27 Jan 2015 08:20:30 +0100
parents b45621706d83
children d54f2f09a73a
comparison
equal deleted inserted replaced
33:73c6333fd124 34:9d553570cc61
3 // language selector 3 // language selector
4 $('#language_select').change(function() { 4 $('#language_select').change(function() {
5 $('#language_form').submit(); 5 $('#language_form').submit();
6 }); 6 });
7 7
8 // registration form
9 $('#id_subscription_amount').change(function() {
10 if ($(this).val() > 0) {
11 $('#id_payment_method_group').show();
12 } else {
13 $('#id_payment_method_group').hide();
14 }
15 });
16
8 // open the big gallery when a thumbnail is clicked 17 // open the big gallery when a thumbnail is clicked
9 $('#carousel-screenshots .thumbnail').click(function() { 18 $('#carousel-screenshots .thumbnail').click(function() {
10 $('#modal-screenshots').modal('show'); 19 $('#modal-screenshots').modal('show');
11 index = parseInt($(this).attr('index')); 20 index = parseInt($(this).attr('index'));
12 $('#carousel-screenshots-modal').carousel(index); 21 $('#carousel-screenshots-modal').carousel(index);