fix loader
This commit is contained in:
parent
633cf5f980
commit
d8b1fccb33
13
loader.js
13
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('<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
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>')})});
|
Loading…
Reference in New Issue
Block a user