Template:2011FR/lp-form-US7amounts-extrainfo-noppval2: Difference between revisions

Content deleted Content added
Pgehres (WMF) (talk | contribs)
buttons
Jalexander (talk | contribs)
 
(12 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:
}
 
div#card-info-block
{
font-size: 0.9em;
Line 309 ⟶ 311:
if (keycode == 13)
{
if (document.getElementById('cc-donate-buttonbutton_step1').style.display == "block")
{
redirectPayment('cc');
Line 367 ⟶ 369:
 
function showCCForm(){
$('#card-info-block').animatecss( { 'display: table }', 1000 'block');
$('#cc-donate-button').css( 'display', 'tableblock');
$('#cc-donate-button_step1').css( 'display', 'none');
$('#paypal-donate-button').css( 'display', 'none');
}
 
Line 472 ⟶ 475:
 
<div id="cc-donate-button">
<input type="button" value="&nbsp;&nbsp;&nbsp;Continue&nbsp;&nbsp;&nbsp;" class="button" onclick="redirectPayment('cc');"/>
</div>
 
Line 511 ⟶ 514:
if ( ( currency == 'AUD' ) || ( currency == 'CAD' ) || ( currency == 'EUR' ) ||
(currency == 'GBP' ) || ( currency == 'JPY' ) || ( currency == 'USD' ) ) {
document.getElementById('cc-donate-buttonbutton_step1').style.display = "</html>{{CC-status}}<html>";
} else {
document.getElementById('cc-donate-buttonbutton_step1').style.display = "none";
}
}