Are you sure you want to go to an external site to donate a monetary value?
WARNING: Some countries laws may supersede the payment processors policy such as the GDPR and PayPal. While it is highly appreciated to donate, please check with your countries privacy and identity laws regarding privacy of information first. Use at your utmost discretion.
Hi.
Nice script so far but as others said before me, it should not be visible all the time...
I'm not a coder so I can't implement such like this I found in the net:
/*Scroll to top when arrow up clicked BEGIN*/ $(window).scroll(function() { var height = $(window).scrollTop(); if (height > 100) { $('#back2Top').fadeIn(); } else { $('#back2Top').fadeOut(); } }); $(document).ready(function() { $("#back2Top").click(function(event) { event.preventDefault(); $("html, body").animate({ scrollTop: 0 }, "slow"); return false; }); }); /*Scroll to top when arrow up clicked END*/
Maybe you can implement this?` :)
Best regards
No, as the description says, he does not use jQuery, that dollar sign you see in the code is jQuery.