-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
59 lines (52 loc) · 2.36 KB
/
index.html
File metadata and controls
59 lines (52 loc) · 2.36 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JÆRTV</title>
<meta name="description" content="Tv frå Jæren">
<meta name="author" content="Chaperone Film">
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
</head>
<body style="background: rgb(11,31,10);
background: linear-gradient(90deg, rgba(11,31,10,1) 0%, rgba(68,135,55,1) 50%, rgba(21,52,19,1) 100%);">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6 offset-3 float-md-center"
style="padding-top: 10%;">
<div class="jumbotron" style="background-color: #2d2929; color: lightgray;">
<h1 class="display-4 text-center">
JÆRTV
</h1>
<hr style="border-top: 1px solid"/>
<h3 class="text-center">Me he kje logo ennå</h3>
<a href="https://www.facebook.com/pg/jaertv/videos/">
<img src="brigt.png" class="img-fluid" alt="Brigt"/>
</a>
</div>
</div>
<script>
// Set the date we're counting down to
var countDownDate = new Date("Apr 8, 2020 20:30:00").getTime();
var countDownDiv = document.getElementById("countdown");
// Update the count down every 1 second
var intervalId = setInterval(function() {
// Get today's date and time
var now = new Date().getTime();
// Find the distance between now and the count down date
var distance = countDownDate - now;
if (distance > 0) {
// Time calculations for days, hours, minutes and seconds
var hours = Math.floor(distance / (1000 * 60 * 60));
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
// Display the result in the element with id="demo"
countDownDiv.innerHTML = hours + " timar "
+ minutes + " minutt " + seconds + " sekund";
countDownDiv.style.display = "block";
} else {
countDownDiv.style.display = "none";
document.getElementById("youtubeFrame").style.display = "block";
clearInterval(intervalId);
}
}, 1000);
</script>
</body>
</html>