facebook_pixel

ESTATUTO

Doações

Sua doação impacta diretamente em nossos projetos.
Precisamos de sua ajuda.

#opc-product-selection,#checkout { display: none; } var parseQueryString = function(url) { var urlParams = {}; url.replace( new RegExp("([^?=&]+)(=([^&]*))?", "g"), function($0, $1, $2, $3) { urlParams[$1] = $3; } ); return urlParams; } jQuery(document).ready(function($){ var urlToParse = location.search; var result = parseQueryString(urlToParse ); console.info(result); $('#amount').val(result.quantia); });

Selecione a quantia que deseja doar

jQuery(document).ready(function($){ $('#amount').on('keyup keydown keypress',function(ev){ $('#nyp-opc-10392').val($(this).val()); }); $('.amount').on('click',function(ev){ var amount = $(this).data('amount'); if(amount>0){ $('#amount').val(amount); $('#nyp-opc-10392').val(amount); }else { $('#amount').val(''); $('#amount').focus(); } return false; }); $('#doarbtn').on('click',function(ev){ $('#checkout').slideDown(); $(window).trigger('resize'); $('.single_add_to_cart_button').click(); }); }) #doarbtn { min-width:50px; text-align:center; display:inline-block; margin:5px; width: 100%; text-transform: uppercase; border-radius:5px; height: 45px; line-height: 45px; background:#33b7f4; color: #fff; } #doarbtn:hover { opacity:0.8; } #donationform { text-align:center; } .real { padding-left:0px; width:50px; line-height:40px; position: absolute; z-index:3; margin-top:8px; } input#amount { padding:10px; height:45px; border: none; border-radius:5px; width: 100%; line-height:40px; font-size:1.3em; margin:5px; padding-left:35px; } a.amount:hover { opacity:0.8; } a.amount { min-width:50px; text-align:center; display:inline-block; margin:5px; padding:10px; border-radius:5px; background:#33b7f4; color: #fff; }
×
×

Carrinho