mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-16 13:10:00 -04:00
updated games
This commit is contained in:
parent
db7926ed37
commit
0fab3f3853
2 changed files with 10 additions and 0 deletions
4
public/assets/js/games.js
Normal file
4
public/assets/js/games.js
Normal file
|
@ -0,0 +1,4 @@
|
|||
function gsearch() {
|
||||
var e, t, n, a;
|
||||
for (e = document.getElementById("gsearchbar").value.toUpperCase(), t = document.getElementById("glist"), a = 0; a < t.querySelectorAll("a[href]").length; a++)(n = t.getElementsByTagName("a")[a]).innerHTML.toUpperCase().indexOf(e) > -1 ? n.style.display = "block" : n.style.display = "none"
|
||||
}
|
|
@ -134,6 +134,12 @@
|
|||
<div class="container">
|
||||
<div class="box">
|
||||
<input type="text" id="gsearchbar" onkeyup="gsearch()" autocomplete="off" placeholder="Search" />
|
||||
<script>
|
||||
function gsearch() {
|
||||
var e, t, n, a;
|
||||
for (e = document.getElementById("gsearchbar").value.toUpperCase(), t = document.getElementById("glist"), a = 0; a < t.querySelectorAll("a[href]").length; a++)(n = t.getElementsByTagName("a")[a]).innerHTML.toUpperCase().indexOf(e) > -1 ? n.style.display = "block" : n.style.display = "none"
|
||||
}
|
||||
</script>
|
||||
<div id="glist">
|
||||
<h2>HTML5 Games</h2>
|
||||
<a class="glink" href="./gfiles/html5games/2048">2<wbr>048</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue