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('