-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathendlessScroller.html
More file actions
55 lines (49 loc) · 2.12 KB
/
Copy pathendlessScroller.html
File metadata and controls
55 lines (49 loc) · 2.12 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
<!DOCTYPE html>
<head>
<title>Endless Scroller</title>
<link href="scroller.css" type="text/css" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300&family=Poppins:wght@300&display=swap" rel="stylesheet">
</head>
<body>
<div class="banner">
<a href="index.html">Home Page</a>
<div class="tool-links">
<div class="dropdown">
<p>Scroller</p>
<div class="dropdown-content">
<a href="parallaxScroller.html">Parallax Scroller</a>
<a href="endlessScroller.html">Endless Scroller</a>
</div>
</div>
<a href="animator.html">Animator</a>
<a href="spritesheetAnimator.html">Sprite Sheet Animator</a>
<a href="gameSales.html">Video Game Sales</a>
</div>
</div>
<h1>Endless Scroller</h1>
<div class="input-container">
<label for="imgHeight">Image Height (px):</label>
<input type="number" id="imgHeight" step="any">
</div>
<div class="input-container">
<label for="imgWidth">Image Width (px):</label>
<input type="number" id="imgWidth" step="any">
</div>
<div class="input-container">
<label for="viewportWidth">Viewport Width (px):</label>
<input type="number" id="viewportWidth" step="any">
</div>
<div class="input-container">
<label for="scrollSpeed">Scroll Speed: </label>
<input type="range" min="1" max="10" value="5" class="slider" id="scrollSpeed">
</div>
<div class="file-input-container">
<input type="file" id="fileInput" accept="image/*">
<button id="animateButton">Animate</button>
</div>
<div class="canvas-container"></div>
<script src="endlessScroller.js"></script>
</body>
</html>