Personal tools

Template:Loading: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
(Created page with "<html> <script type="text/javascript" src="/resource_browser/rb_js/datatables/media/js/jquery.js"></script> <script type="text/javascript" src="/resource_browser/rb_js/datatab...")
 
No edit summary
 
(7 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="/resource_browser/rb_js/datatables/media/js/jquery.js"></script>
<script type="text/javascript" src="/resource_browser/rb_js/datatables/media/js/jquery.dataTables.min.js"></script>
<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=99;
var cWidth=55;
var cHeight=99;
var cHeight=55;
var cTotalFrames=18;
var cTotalFrames=18;
var cFrameWidth=99;
var cFrameWidth=55;
var cImageSrc='/5/sstar/images/LoaderGifs/sprites.gif'; //default but optional with Template  
var cImageSrc='/resource_browser/images/LoaderGifs/sprites.gif'; //default but optional with Template  
var cImageTimeout=false;
var cImageTimeout=false;
Line 80: Line 78:
     if(href!=null){
     if(href!=null){
     var url=String(href);
     var url=String(href);
     if(String(href).indexOf("sstar")!=-1){
     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