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

From Donate
Jump to navigation Jump to search
Content deleted Content added
Cbarr (talk | contribs)
No edit summary
Cbarr (talk | contribs)
No edit summary
Line 1: Line 1:
<html>
<html>
<style type="text/css">
<style type="text/css">
#radiobuttons-table-header{
#radiobuttons-table-header {
font-weight: bold;
font-weight: bold;
font-size: 1.3em;
font-size: 1.3em;
Line 7: Line 7:
}
}


#radiobuttons-table-body{
#radiobuttons-table-body {
margin-left: -5px;
margin-left: -5px;
padding-top: 2.3em;
padding-top: 2.3em;
}
}


#radiobuttons-table{
#radiobuttons-table {
font-size: 1.2em;
font-size: 1.2em;
/*width: 100%;*/
/*width: 100%;*/
}
}


.radiobuttons-cell{
.radiobuttons-cell {
white-space: nowrap;
white-space: nowrap;
}
}


#input_amount_other_box{
#input_amount_other_box {
color: black;
color: black;
font-size: 0.8em;
font-size: 0.8em;
Line 28: Line 28:
}
}


#input_currency_code{
#input_currency_code {
width: 9em;
width: 9em;
font-size: 0.95em;
font-size: 0.95em;
Line 35: Line 35:


<script type="text/javascript">
<script type="text/javascript">
function clearOther(box){
function clearOther(box) {
document.getElementById("input_amount_other").checked = true;
document.getElementById("input_amount_other").checked = true;
box.value = "";
box.value = "";
Line 41: Line 41:
}
}


function resetOther(box){
function resetOther(box) {
box.value = "</html>{{int:donate_interface-other}}<html>";
box.value = "</html>{{int:donate_interface-other}}<html>";
}
}


function selectAmount(){
function selectAmount() {
document.getElementById("input_amount_other_box").value = "";
document.getElementById("input_amount_other_box").value = "";
document.getElementsByName("amountGiven")[0].value="";
document.getElementsByName("amountGiven")[0].value="";
}
}


//This variable tells the payment processing whether or not this donation is recurring.
var monthlyDonation = false;
var monthlyDonation = false;

//This variable tells the page whether or not to display the information for cancelling a monthly payment
var showMonthlyCancel = false;
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;
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;
var showOnetimeLink = false;

//This line is needed to prevent errors from a if statement in the "form-section-processing" template
</script>
</script>



Revision as of 16:34, 2 February 2012