mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-15 21:00:00 -04:00
Fixed Search Bar
This commit is contained in:
parent
707b9a5b08
commit
4ad0ff9d1a
1 changed files with 7 additions and 1 deletions
|
@ -163,8 +163,14 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div id="glist">
|
<div id="glist">
|
||||||
|
<script>
|
||||||
|
function gsearch() {
|
||||||
|
var a, b, c, i;
|
||||||
|
for (a = document.getElementById("gsearchbar").value, b = document.getElementById("glist").getElementsByTagName("a"), i = 0; i < b.length; i++)(c = b[i]).textContent.toUpperCase().indexOf(a.toUpperCase()) > -1 ? c.style.display = "block" : c.style.display = "none";
|
||||||
|
}
|
||||||
|
</script>
|
||||||
<!-- Important: Use <wbr> to mess with keywords. -->
|
<!-- Important: Use <wbr> to mess with keywords. -->
|
||||||
<input id="scontainer" action="/home/session" method="POST" type="submit" id="gsearchbar" autocomplete="off" placeholder="Search Alloy" />
|
<input type="text" id="gsearchbar" autocomplete="off" onkeyup="gsearch()" placeholder="Search Games" />
|
||||||
<div>
|
<div>
|
||||||
<!-- Game CSS-->
|
<!-- Game CSS-->
|
||||||
<style>
|
<style>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue