forked from uoommic/ommic.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
41 lines (34 loc) · 1 KB
/
Copy pathindex.html
File metadata and controls
41 lines (34 loc) · 1 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
<!DOCTYPE html>
<html>
<head>
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="styles.css">
<title>OMMIC</title>
<meta charset="utf-8" />
<link rel="icon"
type="image/png"
href="pictures/favicon.png">
</head>
<body>
<div class="w3-content w3-section" style="max-width:500px">
<img class="mySlides" src="pictures/3Dprint2.JPG" style="width:100%">
<img class="mySlides" src="pictures/3dprinting.png" style="width:100%">
<img class="mySlides" src="pictures/basicshapes.png" style="width:100%">
</div>
<script>
var myIndex = 0;
carousel();
function carousel() {
var i;
var x = document.getElementsByClassName("mySlides");
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
myIndex++;
if (myIndex > x.length) {myIndex = 1}
x[myIndex-1].style.display = "block";
setTimeout(carousel, 2000); // Change image every 2 seconds
}
</script>
</body>
</htm>