-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
53 lines (44 loc) · 1.21 KB
/
index.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
<html lang="de">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>BYLICKILABS</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<section class="background"></section>
<div class="spinner-container">
<div class="spinner"></div>
<div class="loading-text">0%</div>
</div>
<script src="app.js"></script>
<br><br><br><br><br><script type="text/javascript">
var buttontext = "ENTER "
var id = "button"
<!-- zeit is time in seconds that the button needs to be displayed -->
var zeit = 5
function buttonsperre()
{
document.getElementById(id).disabled = true
document.getElementById(id).value = buttontext + "(" + zeit + ")"
if(zeit > 0)
{
zeit--
window.setTimeout('buttonsperre()',1000)
}
else
{
document.getElementById(id).disabled = false
document.getElementById(id).value = buttontext
}
}
</script>
</head>
<body onLoad="buttonsperre()">
<!-- Insert your link -->
<form action="YOUR_SITE_HERE" method="get">
<input type="submit" name="submit" value="" id="button">
</form>
</body>
</html>