Template:Loading: Difference between revisions
From FANTOM5_SSTAR
mNo edit summary |
No edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<html> | <html><script type="text/javascript" src="/5/sstar/rb_js/jquery-1.7.1.min.js"> | ||
<script type="text/javascript" src="/ | |||
<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 7: | Line 5: | ||
//var image=</html>{{{loadingimage}}}<html> optional | //var image=</html>{{{loadingimage}}}<html> optional | ||
var cSpeed=10; | var cSpeed=10; | ||
var cWidth= | var cWidth=55; | ||
var cHeight= | var cHeight=55; | ||
var cTotalFrames=18; | var cTotalFrames=18; | ||
var cFrameWidth= | var cFrameWidth=55; | ||
var cImageSrc='/resource_browser/images/LoaderGifs/sprites.gif'; //default but optional with Template | var cImageSrc='/resource_browser/images/LoaderGifs/sprites.gif'; //default but optional with Template | ||
Line 80: | 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