Project upload

This commit is contained in:
2022-04-24 03:02:39 -05:00
parent 92c64c30fe
commit c2ce33c3fb
71 changed files with 20006 additions and 0 deletions

27
vendor/jquery.back-to-top.js vendored Executable file
View File

@@ -0,0 +1,27 @@
$(document).ready(function($){
// browser window scroll (in pixels) after which the "back to top" link is shown
var offset = 300,
//browser window scroll (in pixels) after which the "back to top" link opacity is reduced
offset_opacity = 1200,
//duration of the top scrolling animation (in ms)
scroll_top_duration = 700,
//grab the "back to top" link
$back_to_top = $('.js-back-to-top');
//hide or show the "back to top" link
$(window).scroll(function(){
( $(this).scrollTop() > offset ) ? $back_to_top.addClass('back-to-top-is-visible') : $back_to_top.removeClass('back-to-top-is-visible back-to-top-fade-out');
if( $(this).scrollTop() > offset_opacity ) {
$back_to_top.addClass('back-to-top-fade-out');
}
});
//smooth scroll to top
$back_to_top.on('click', function(event){
event.preventDefault();
$('body,html').animate({
scrollTop: 0 ,
}, scroll_top_duration
);
});
});