Upload New File

This commit is contained in:
Octo Andri 2020-10-30 16:19:06 +00:00
parent d33b41f883
commit 10aaa5a076
1 changed files with 8 additions and 0 deletions

8
assets/js/RandomGIF.js Normal file
View 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;