mirror of
https://gitlab.com/octospacc/octospacc.gitlab.io
synced 2025-02-18 04:40:45 +01:00
Upload New File
This commit is contained in:
parent
d33b41f883
commit
10aaa5a076
8
assets/js/RandomGIF.js
Normal file
8
assets/js/RandomGIF.js
Normal file
@ -0,0 +1,8 @@
|
||||
function RandomGIF() {
|
||||
gifid = Math.floor((Math.random() * 11)/2);
|
||||
gifurl = top.glob + gifid + ".gif";
|
||||
gifcss = "url(" + gifurl + ")";
|
||||
document.body.style.backgroundImage = gifcss;
|
||||
}
|
||||
|
||||
window.onload = RandomGIF;
|
Loading…
x
Reference in New Issue
Block a user