Update 'www/index.html'

This commit is contained in:
Sarimoko 2022-03-01 07:25:43 +00:00
parent 34a3d633d3
commit f89e09bbe3
1 changed files with 23 additions and 7 deletions

View File

@ -62,11 +62,11 @@
<h3>EZ Share / Re-Directs</h3>
<input type="text" id="myInput" onkeyup="myFunction()" placeholder="Search for names.." title="Type in a name">
<ul id="myUL">
<li><a href="#">Bugs</a> | Report bugs, issues, &amp; other problems!</li>
<li><a href="#">Cord</a> | Discord invite redirect, wait 5 secord or click the button!</li>
<li><a href="#">Heyo</a> | Hello Worlds repo's for lots of various codex's and coding languages!</li>
<li><a href="#">Live</a> | Twitch redirect to the live stream, wait 5 secord or click the button!</li>
<li><a href="#">Tube</a> | YouTube redirect to #playlist, wait 5 secord or click the button!</li>
<li><a href="https://bugs.sarimoko.com">Bugs</a> | Report bugs, issues, &amp; other problems!</li>
<li><a href="https://cord.sarimoko.com">Cord</a> | Discord invite redirect, wait 5 secord or click the button!</li>
<li><a href="https://heyo.sarimoko.com">Heyo</a> | Hello Worlds repo's for lots of various codex's and coding languages!</li>
<li><a href="https://live.sarimoko.com">Live</a> | Twitch redirect to the live stream, wait 5 secord or click the button!</li>
<li><a href="https://tube.sarimoko.com">Tube</a> | YouTube redirect to #playlist, wait 5 secord or click the button!</li>
</ul>
@ -130,8 +130,8 @@
<p> GitHub | Gist | https://gist.github.com/sarimoko</p>
<h5>Social Media</h5>
<input type="text" id="myInput" onkeyup="myFunction()" placeholder="Search for names.." title="Type in a name">
<ul id="myUL">
<input type="text" id="searchSocialInput" onkeyup="searchSocial()" placeholder="Search for platforms..." title="Type in a name">
<ul id="searchSocialUL">
<li><a href="#">Deviant Art</a></li>
<li><a href="https://facebook.com/sarimoko.o">Facebook</a> | Page</li>
<li><a href="https://facebook.com/sarimoko.live">Facebook</a> | Profile</li>
@ -167,6 +167,22 @@ function myFunction() {
}
}
}
function searchSocial() {
var input, filter, ul, li, a, i, txtValue;
input = document.getElementById("searchSocialInput");
filter = input.value.toUpperCase();
ul = document.getElementById("searchSocialUL");
li = ul.getElementsByTagName("li");
for (i = 0; i < li.length; i++) {
a = li[i].getElementsByTagName("a")[0];
txtValue = a.textContent || a.innerText;
if (txtValue.toUpperCase().indexOf(filter) > -1) {
li[i].style.display = "";
} else {
li[i].style.display = "none";
}
}
}
</script>
</body>
<script>