-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvisual3.html
More file actions
45 lines (41 loc) · 1.67 KB
/
visual3.html
File metadata and controls
45 lines (41 loc) · 1.67 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
<html>
<head>
<title>Sorting Visualizer</title>
<link rel="stylesheet" href="/sortingvisualizer/visual1.css">
</head>
<body>
<header>
<nav>
<div class="array_inputs">
<p>Size of array:</p>
<input type="range" id="a_size" min="1" max="150" step="1" value="15" >
<p>Speed of algorithm:</p>
<input id="a_speed" type="range" min="1" max="7" value="4" step="1" >
<button id="a_generate">Generate Array!</button>
</div>
<div class="header_right">
<p class="nav-heading">Sorting Visualizer</p>
<div class="algos">
<button id="bt2">SELECTION</button>
</div>
</div>
</nav>
</header>
<section>
<div id="Info_Cont1">
<button onclick="window.location.href='/sortingvisualizer/sort.html'">Previous</button>
</div>
<div id="array_container">
</div>
<div id="Info_Cont2">
<button onclick="window.location.href='/sortingvisualizer/visual3.html'">Stop And Reset</button>
<button onclick="delay_time=0" id="fast">Fast Forward</button>
</div>
</section>
<script src="/sortingvisualizer/visual1.js"></script>
<script src="/sortingvisualizer/controls.js"></script>
<script src="/sortingvisualizer/selection.js"></script>
<script src="/sortingvisualizer/insertion.js"></script>
<script src="/sortingvisualizer/bubble.js"></script>
</body>
</html>