fix loader

This commit is contained in:
Bruno Rybársky 2022-05-16 19:39:28 +02:00
parent 633cf5f980
commit d8b1fccb33
2 changed files with 13 additions and 1 deletions

@ -3,4 +3,15 @@ $(document).ready(function(){
//on button click enable/disable bounce scroll
$("#bounce_scroll_button").click(function(){
//load the bounce scroll script
//add link
//https://brn.systems:3000/BRNSystems/js/raw/branch/master/bouncyscroll.min.js
//https://brn.systems:3000/BRNSystems/js/raw/branch/master/infiscroll.min.js
//add the script as script tag to the body
$('body').append('<script src="https://brn.systems:3000/BRNSystems/js/raw/branch/master/bouncyscroll.min.js"></script>');
});
$("#infiscroll_button").click(function(){
//load the infiscroll script
//https://brn.systems:3000/BRNSystems/js/raw/branch/master/infiscroll.min.js
//add the script as script tag to the body
$('body').append('<script src="https://brn.systems:3000/BRNSystems/js/raw/branch/master/infiscroll.min.js"></script>');
});
});

1
loader.min.js vendored Normal file

@ -0,0 +1 @@
$(document).ready(function(){$("#bounce_scroll_button").click(function(){$("body").append('<script src="https://brn.systems:3000/BRNSystems/js/raw/branch/master/bouncyscroll.min.js"><\/script>')}),$("#infiscroll_button").click(function(){$("body").append('<script src="https://brn.systems:3000/BRNSystems/js/raw/branch/master/infiscroll.min.js"><\/script>')})});