mirror of
https://gitlab.com/octospacc/octospacc.gitlab.io
synced 2025-06-05 21:59:15 +02:00
Upload New File
This commit is contained in:
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;
|
Reference in New Issue
Block a user