Template:Loading: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<html> | <html><script type="text/javascript" src="/5/sstar/rb_js/jquery-1.7.1.min.js"> | ||
<div id="loader" class="hiddeable" style="display:none; position: fixed; top: 0; right: 0; width: 100%; height: 100%; z-index: 1; background: transparent;"> | <div id="loader" class="hiddeable" style="display:none; position: fixed; top: 0; right: 0; width: 100%; height: 100%; z-index: 1; background: transparent;"> | ||
</div> | </div> | ||
Line 9: | Line 9: | ||
var cTotalFrames=18; | var cTotalFrames=18; | ||
var cFrameWidth=55; | var cFrameWidth=55; | ||
var cImageSrc='/ | var cImageSrc='/resource_browser/images/LoaderGifs/sprites.gif'; //default but optional with Template | ||
var cImageTimeout=false; | var cImageTimeout=false; | ||
Line 78: | Line 78: | ||
if(href!=null){ | if(href!=null){ | ||
var url=String(href); | var url=String(href); | ||
if(String(href).indexOf(" | if(String(href).indexOf("resource_browser")!=-1){ | ||
if(String(href).length>2){ | if(String(href).length>2){ | ||
toggle_visibility('loader'); | toggle_visibility('loader'); |
Latest revision as of 10:55, 14 November 2019