Line 15: | Line 15: | ||
<style> | <style> | ||
.loader{ | .loader{ | ||
− | width: | + | width: 100px; |
− | + | ||
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
![](https://static.igem.org/mediawiki/2021/7/74/T--GreatBay_SCIE--loading.gif)