-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlist.js
40 lines (31 loc) · 1.04 KB
/
list.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
document.addEventListener("DOMContentLoaded", function() {
const overlay = document.getElementById("overlay")
const enterButton = document.getElementById("enterButton")
const backgroundVideo = document.getElementById("backgroundVideo")
const theme = "chill"
backgroundVideo.controls = false
if (theme == "chill") {
backgroundVideo.src = "https://ibb.co/7QHFj3v"
}
if (theme == "central") {
backgroundVideo.src = "https://ibb.co/7QHFj3v"
}
if (theme == "drill") {
backgroundVideo.src = "https://ibb.co/7QHFj3v"
}
if (theme == "rap") {
backgroundVideo.src = "https://ibb.co/7QHFj3v"
}
enterButton.addEventListener("click", function() {
backgroundVideo.play()
overlay.style.visibility = "hidden"
overlay.style.opacity = 0
})
})
function Scroll(text) {
document.title = text;
setTimeout(function() {
Scroll(text.substr(1) + text.substr(0, 1));
}, 300);
}
Scroll(" catboys4.life <3")