From d8b1fccb334fd2dce089bf0ee9248f107f86a79f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Mon, 16 May 2022 19:39:28 +0200 Subject: [PATCH] fix loader --- loader.js | 13 ++++++++++++- loader.min.js | 1 + 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 loader.min.js diff --git a/loader.js b/loader.js index d2858b6..3b88110 100644 --- a/loader.js +++ b/loader.js @@ -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(''); + }); + $("#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(''); + }); +}); diff --git a/loader.min.js b/loader.min.js new file mode 100644 index 0000000..6e066c4 --- /dev/null +++ b/loader.min.js @@ -0,0 +1 @@ +$(document).ready(function(){$("#bounce_scroll_button").click(function(){$("body").append('