Template:2011FR/lp-form-US7amounts-extrainfo-noppval2: Difference between revisions
Content deleted Content added
initializing |
Jalexander (talk | contribs) m 14 revisions from foundation:Template:2011FR/lp-form-US7amounts-extrainfo-noppval2: import to test |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 1:
<html>
<style type="text/css">
input:-webkit-autofill {
color: #fff !important;
}
#donation-form
{
Line 63 ⟶ 65:
}
{
font-size: 0.9em;
display:
margin: 0.5em 0;
}
Line 157 ⟶ 159:
{
text-align:center;
}
#cc-donate-button
{
display: none;
}
Line 304 ⟶ 311:
if (keycode == 13)
{
if (document.getElementById('cc-donate-
{
redirectPayment('cc');
Line 359 ⟶ 366:
document.paypalcontribution.submit();
}
}
function showCCForm(){
$('#card-info-block').css( 'display', 'block');
$('#cc-donate-button').css( 'display', 'block');
$('#cc-donate-button_step1').css( 'display', 'none');
$('#paypal-donate-button').css( 'display', 'none');
}
Line 454 ⟶ 468:
</div>
</div>
</div>
<div id="cc-donate-button_step1">
<input type="button" value="</html>{{{creditcard-label}}}<html>" class="button" onclick="showCCForm();"/>
</div>
<div id="cc-donate-button">
<input type="button" value="
</div>
Line 496 ⟶ 514:
if ( ( currency == 'AUD' ) || ( currency == 'CAD' ) || ( currency == 'EUR' ) ||
(currency == 'GBP' ) || ( currency == 'JPY' ) || ( currency == 'USD' ) ) {
document.getElementById('cc-donate-
} else {
document.getElementById('cc-donate-
}
}
|