-
Notifications
You must be signed in to change notification settings - Fork 0
/
Tutorial.html
110 lines (95 loc) · 3.78 KB
/
Tutorial.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html lang="en">
<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">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" integrity="sha512-9usAa10IRO0HhonpyAIVpjrylPvoDwiPUiKdWk5t3PyolY1cOd4DSE0Ga+ri4AuTroPR5aQvXU9xC6qOPnzFeg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="style2.css">
<title>DoodleIt</title>
<script src='doodle.js'></script>
</head>
<body>
<div id="createImg" style="border:1px solid;">
<!--Nav Bar-->
<div class="navbar">
<div class="container flex">
<h1 class="logo" >
<a href="index.html">DoodleIt </a>
</h1>
<nav>
<ul>
<li><a href="index.html">Demo</a></li>
<li><a href="Tutorial.html">Tutorial</a></li>
</ul>
</nav>
</div>
</div>
<!-- Showcase-->
<div class="slideshow-container">
<!--<iframe src="https://docs.google.com/presentation/d/e/2PACX-1vSKs6-ZT4O6TG4SRDd_HF5KBVT26JT7oA8EALyD-eWhOesg0ENvw2Omt2_nTP55YUjcI55Hm7H3pKLw/embed?start=true&loop=true&delayms=5000" frameborder="0" width="1400" height="500" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe>
-->
<iframe src="https://docs.google.com/presentation/d/e/2PACX-1vSKs6-ZT4O6TG4SRDd_HF5KBVT26JT7oA8EALyD-eWhOesg0ENvw2Omt2_nTP55YUjcI55Hm7H3pKLw/embed?rm=minimal&start=true&loop=true&delayms=5000" frameborder="0" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe>
<!-- Full-width images with number and caption text -->
<!-- <div class="mySlides fade">
<div class="numbertext">1 / 3</div>
<img src="img1.png" style="width:70%">
</div>
<div class="mySlides fade">
<div class="numbertext">2 / 3</div>
<img src="img2.png" style="width:70%">
</div>
<div class="mySlides fade">
<div class="numbertext">3 / 3</div>
<img src="img3.png" style="width:70%">
</div>
<div class="mySlides fade">
<div class="numbertext">3 / 3</div>
<img src="img4.png" style="width:70%">
</div>
<div class="mySlides fade">
<div class="numbertext">3 / 3</div>
<img src="img5.png" style="width:70%">
</div>
-->
<!-- Next and previous buttons
<a class="prev" onclick="plusSlides(-1)">❮</a>
<a class="next" onclick="plusSlides(1)">❯</a>
</div>
<br>-->
<!-- The dots/circles
<div style="text-align:center">
<span class="dot" onclick="currentSlide(1)"></span>
<span class="dot" onclick="currentSlide(2)"></span>
<span class="dot" onclick="currentSlide(3)"></span>
</div>-->
</div>
</div>
<script>
let slideIndex = 1;
showSlides(slideIndex);
function plusSlides(n) {
showSlides(slideIndex += n);
}
function currentSlide(n) {
showSlides(slideIndex = n);
}
function showSlides(n) {
let i;
let slides = document.getElementsByClassName("mySlides");
let dots = document.getElementsByClassName("dot");
if (n > slides.length) {slideIndex = 1}
if (n < 1) {slideIndex = slides.length}
for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" active", "");
}
slides[slideIndex-1].style.display = "block";
dots[slideIndex-1].className += " active";
}
</script>
</body>
</html>