Difference between revisions of "Template:GreatBay SCIE/HTML/loader"

Line 15: Line 15:
 
<style>
 
<style>
 
.loader{
 
.loader{
width: 20%;
+
width: 100px;
float:right;
+
 
position: fixed;
 
position: fixed;
 
 
z-index: 11111111!important;}
 
z-index: 11111111!important;}
 
</style>
 
</style>
Line 28: Line 26:
 
     ld = document.getElementById("loader");
 
     ld = document.getElementById("loader");
 
     ld.style.display = 'none';
 
     ld.style.display = 'none';
 +
    WD = window.innerWidth;
 +
    ld.style.marginLeft = (WD - 100) + "px";
 +
    HT = window.innerHeight;
 +
    ld.style.marginLeft = (HT - 190) + "px";
 
      
 
      
 
}
 
}

Revision as of 11:10, 20 October 2021