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

Content deleted Content added
Pgehres (WMF) (talk | contribs)
initializing
 
Pgehres (WMF) (talk | contribs)
buttons
Line 66:
{
font-size: 0.9em;
display:table none;
margin: 0.5em 0;
}
Line 157:
{
text-align:center;
}
 
#cc-donate-button
{
display: none;
}
 
Line 359 ⟶ 364:
document.paypalcontribution.submit();
}
}
 
function showCCForm(){
$('card-info-block').animate( { display: table }, 1000 )
$('cc-donate-button').css( 'display', 'table');
$('cc-donate-button_step1').css( 'display', 'none');
}
 
Line 454 ⟶ 465:
</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="</html>{{{creditcard-label}}}<html>Continue" class="button" onclick="redirectPayment('cc');"/>
</div>