Changeset - 6632824580f8
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 11 years ago 2013-05-01 02:17:50
bkuhn@ebb.org
Place percentage in the progress bar.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
www/conservancy/static/campaign/index.html
Show inline comments
...
 
@@ -120,25 +120,25 @@ el.attachEvent('on'+ev, function() {handler.apply(el);});
 
            type: $form.find('select').val()
 
        };
 
 
 
 
 
        balanced.bankAccount.create(bankAccountData, responseCallbackHandler);
 
    };
 
   $('#bank-account-form').submit(tokenizeInstrument);
 
*/
 
</script>
 
-->
 
<p>$2,515 raised toward<br/>
 
our $75,000 goal.</p>
 
<div id="progressbar" style="height:20px;"></div>
 
<div id="progressbar" style="height:20px;"><span style="float:right; align:center; margin-right:40%">3.4%</div>
 
<p><font style="font-size: 25%">(Progress bar updated daily.)</font></p>
 
<p>Help us reach our goal:</p>
 

	
 
<!-- Google Checkout start -->
 
<script type="text/javascript"> 
 
function validateAmount(amount){
 
    if(amount.value.match( /^[0-9]+(\.([0-9]+))?$/)){
 
        return true;
 
    }else{
 
        alert('You must enter a valid donation.');
 
        amount.focus();
 
        return false;
0 comments (0 inline, 0 general)