Difference between revisions of "Template:Loading"
From referenceTSS
m |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 9: | Line 9: | ||
var cTotalFrames=18; | var cTotalFrames=18; | ||
var cFrameWidth=55; | var cFrameWidth=55; | ||
− | var cImageSrc='/ | + | var cImageSrc='/reftss/images/LoaderGifs/sprites.gif'; //default but optional with Template |
var cImageTimeout=false; | var cImageTimeout=false; | ||
Line 66: | Line 66: | ||
//The following code starts the animation | //The following code starts the animation | ||
new imageLoader(cImageSrc, 'startAnimation()'); | new imageLoader(cImageSrc, 'startAnimation()'); | ||
+ | |||
+ | $(document).ready(function() { | ||
+ | |||
+ | //var loading_image="</html>{{{loadingimage}}}<html>"; | ||
$(document).on("click", "a", function() { | $(document).on("click", "a", function() { |
Latest revision as of 10:29, 13 September 2021