-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
46 lines (43 loc) · 1.58 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CeD-Software</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="video-container">
<video autoplay muted>
<source src="matrix.mp4" type="video/mp4">
<source src="matrix.webm" type="video/webm">
Your browser does not support the video tag.
</video>
</div>
<div id="content-container">
<div id="google-docs-container">
<iframe src="https://docs.google.com/document/d/e/2PACX-1vRnZjNCjkl5-41Utlj8ip8l0PC8zh32F8voW7VIHRfoSVX7OaYNHrppPH-csq91YAChpy6rKQHRTwBR/pub?embedded=true" width="10000%" height="900" frameborder="0" scrolling="yes"></iframe>
</div>
<div id="download-button">
<a href="CeD0.3.exe" download>
<button>Scarica CeD</button>
<p id="counter">0</p>
<script>
// Ottenere il riferimento al pulsante di download e al contatore
var downloadButton = document.getElementById("download-button");
var counter = document.getElementById("counter");
// Inizializzare il contatore
var downloadCount = 0;
// Aggiungere un gestore di eventi al clic del pulsante di download
downloadButton.addEventListener("click", function() {
// Incrementare il contatore
downloadCount++;
// Aggiornare il testo del contatore
counter.textContent = downloadCount;
});
</script>
</a>
</div>
</div>
</body>
</html>