MehrabKamrani commited on 2015-12-26 07:25:15
Zeige 1 geänderte Dateien mit 9 Einfügungen und 1 Löschungen.
... | ... |
@@ -91,7 +91,7 @@ |
91 | 91 |
<h5 class="error-msg">The minimum donation amount is $5</h5> |
92 | 92 |
<button id="donate-btn" class="btn btn-primary btn-lg btn-block donate-button" style="padding:10px;">Donate</button> |
93 | 93 |
<h5>via PayPal (doesn't require an account)</h5> |
94 |
- <h4><a href="<page donate/donate-options>">Other Ways to Donate</a></h4> |
|
94 |
+ <h4><a id="link" href="#other-ways-section">Other Ways to Donate</a></h4> |
|
95 | 95 |
</div> |
96 | 96 |
|
97 | 97 |
<!-- PAYPAL ESSENTIAL INPUTS --> |
... | ... |
@@ -370,6 +370,14 @@ |
370 | 370 |
$(".left").removeClass('active'); |
371 | 371 |
}); |
372 | 372 |
|
373 |
+ |
|
374 |
+ $("#link").on('click',function(event){ |
|
375 |
+ event.preventDefault(); |
|
376 |
+ $('html, body').animate({ |
|
377 |
+ scrollTop: $("#other-ways-section").offset().top |
|
378 |
+ }, 200); |
|
379 |
+ }); |
|
380 |
+ |
|
373 | 381 |
}); |
374 | 382 |
|
375 | 383 |
|
376 | 384 |