Template:2012FR/Form-section/Radiobuttons/Default: Difference between revisions

Content deleted Content added
Cbarr (talk | contribs)
No edit summary
Cbarr (talk | contribs)
No edit summary
Line 1:
<html>
<style type="text/css">
#radiobuttons-table-header {
font-weight: bold;
font-size: 1.3em;
Line 7:
}
 
#radiobuttons-table-body {
margin-left: -5px;
padding-top: 2.3em;
}
 
#radiobuttons-table {
font-size: 1.2em;
/*width: 100%;*/
}
 
.radiobuttons-cell {
white-space: nowrap;
}
 
#input_amount_other_box {
color: black;
font-size: 0.8em;
Line 28:
}
 
#input_currency_code {
width: 9em;
font-size: 0.95em;
Line 35:
 
<script type="text/javascript">
function clearOther(box) {
document.getElementById("input_amount_other").checked = true;
box.value = "";
Line 41:
}
 
function resetOther(box) {
box.value = "</html>{{int:donate_interface-other}}<html>";
}
 
function selectAmount() {
document.getElementById("input_amount_other_box").value = "";
document.getElementsByName("amountGiven")[0].value="";
}
 
//This variable tells the payment processing whether or not this donation is recurring.
var monthlyDonation = false;
 
//This variable tells the page whether or not to display the information for cancelling a monthly payment
var showMonthlyCancel = false;
 
//This variable tells the page whether or not to display a link to a monthly version of the page
var showMonthlyLink = true;
 
//This variable tells the page whether or not to display a link to a one-time version of the page
var showOnetimeLink = false;
 
//This line is needed to prevent errors from a if statement in the "form-section-processing" template
</script>