-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDootDoot.html
87 lines (82 loc) · 1.88 KB
/
DootDoot.html
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="DootBody.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<title>Spooky Time</title>
</head>
<body>
<div class="container">
<div class="row">
<h1 id="HeadText" class="rainbow" style="text-align:center; font-family:times-new-roman;">IT'S SPOOKTOBER MY FRIENDS</h1>
<div align="center">
<a href="DootDootDoot.html">
<video id="DOOT" autoplay="true" loop="true" height="100%" width="100%" >
<source src="DootDoot.mp4" type="video/mp4" controls>
</video>
</a>
</div>
</div>
</div>
</body>
</html>
<script>
var fade=10
if (document.getElementById){
var storetext=document.getElementById? document.getElementById("HeadText") : document.all.highlight
}
else
document.write(storetext)
var hex = new Array("00","14","28","3C","50","64","78","8C","A0","B4","C8","DC","F0")
var r = 1
var g = 1
var b = 1
var seq = 1
function changetext(){
rainbow = "#" + hex[r] + hex[g] + hex[b]
storetext.style.color=rainbow
}
function change(){
if (seq==6)
{
b--
if (b==0)
seq=1
}
if (seq==5){
r++
if (r==12)
seq=6
}
if (seq==4){
g--
if (g==0)
seq=5
}
if (seq==3){
b++
if (b==12)
seq=4
}
if (seq==2){
r--
if (r==0)
seq=3
}
if (seq==1){
g++
if (g==12)
seq=2
}
changetext()
}
function starteffect(){
if (document.getElementById)
flash=setInterval("change()",fade)
}
starteffect()
</script>