-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvisualsearch.html
More file actions
57 lines (47 loc) · 2.11 KB
/
visualsearch.html
File metadata and controls
57 lines (47 loc) · 2.11 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
56
57
<html>
<head>
<title>Sorting Visualizer</title>
<link rel="stylesheet" href="/sortingvisualizer/visualsearch.css">
</head>
<body>
<header>
<nav>
<div class="array_inputs">
<p>Size of array:</p>
<input type="range" id="a_size" min="6" max="20" step="1" value="15" >
<p>Speed of algorithm:</p>
<input id="a_speed" type="range" min="1" max="7" value="1" step="1" >
<button id="a_generate">Generate Array!</button>
</div>
<div class="header_right">
<p class="nav-heading">Searching Visualizer</p>
<div class="algos">
<button>LINEAR</button>
<button>BINARY</button>
</div>
</div>
</nav>
</header>
<section>
<div id="Info_Cont1">
<button onclick="window.location.href='/sortingvisualizer/search.html'">Previous</button>
<button onclick="window.location.href='/sortingvisualizer/index.html'">Home</button>
<br>
<p id="input">Enter number <br> for searching: </p>
<input type="text" name="" id="inputnumber">
<p id="found" style="display: none;">Found</p>
<p id="notfound" style="display: none;">Not Found</p>
</div>
<div id="array_container">
</div>
<div id="Info_Cont2">
<button onclick="window.location.href='/sortingvisualizer/visualsearch.html'">Stop And Reset</button>
<button onclick="delay_time=0" id="fast">Fast Forward</button>
</div>
</section>
<script src="/sortingvisualizer/visualsearch.js"></script>
<script src="/sortingvisualizer/controls2.js"></script>
<script src="/sortingvisualizer/Linear.js"></script>
<script src="/sortingvisualizer/Binary.js"></script>
</body>
</html>