Changeset - 3ae257e7a50b
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 11 years ago 2013-05-01 02:25:49
bkuhn@ebb.org
Make Google Checkout popup rather than there by default.
1 file changed with 6 insertions and 1 deletions:
0 comments (0 inline, 0 general)
www/conservancy/static/campaign/index.html
Show inline comments
...
 
@@ -227,13 +227,16 @@ evbind(document.getElementById('bank-account-form'), 'submit',
 
    });
 
});
 

	
 
</script>
 
- Balanced end -->
 

	
 
<h4>Prefer Google Checkout?</h4>
 
<div class="toggle-unit">
 
    <h4 class="toggle-control" data-text="Donate by Google Checkout?" 
 
    data-expanded-text="Donate by Google Checkout:">Donate by Google Checkout?</h4>
 
    <div class="toggle-content">
 
<!-- Google Checkout start -->
 
<script type="text/javascript"> 
 
function validateAmount(amount){
 
    if(amount.value.match( /^[0-9]+(\.([0-9]+))?$/)){
 
        return true;
 
    }else{
...
 
@@ -260,12 +263,14 @@ function validateAmount(amount){
 
                <input alt="Donate" src="https://checkout.google.com/buttons/donateNow.gif?merchant_id=622836985124940&amp;w=115&amp;h=50&amp;style=trans&amp;variant=text&amp;loc=en_US" type="image"/>
 
            </td>
 
        </tr>
 
    </table>
 
</form>
 
<!-- Google Checkout end -->
 
    </div><!-- /.toggle-content -->
 
</div><!-- /.toggle.unit -->
 

	
 
<div class="toggle-unit">
 
    <h4 class="toggle-control" data-text="Donate by Wire Transfer?" 
 
    data-expanded-text="Donate by Wire Transfer:">Donate by Wire Transfer?</h4>
 
    <div class="toggle-content">
 
        Please
0 comments (0 inline, 0 general)