Discord Widget because cool
This commit is contained in:
parent
853ba2121b
commit
e5ba0b3a88
17
index.html
17
index.html
@ -357,9 +357,26 @@
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
function toggleDiscordWidget() {
|
||||
var widget = document.getElementById("DiscordWidget");
|
||||
var button = document.getElementById("DiscordButton");
|
||||
if (widget.style.display === "none") {
|
||||
widget.style.display = "block";
|
||||
button.textContent="Hide Discord Widget";
|
||||
|
||||
} else {
|
||||
widget.style.display = "none";
|
||||
button.textContent="Show Discord Widget";
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<p id="jsOutput"></p>
|
||||
<!--img id=riitag src="https://tag.rc24.xyz/294976590658666497/tag.max.png" alt="My RiiTag" width=1024-->
|
||||
<button id=DiscordButton class=button onClick="toggleDiscordWidget()">Show Discord Widget</button>
|
||||
<div id="DiscordWidget" style="display: none">
|
||||
<iframe src="https://discord.com/widget?id=475327576110268466&theme=dark" width="350" height="500" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>
|
||||
</div>
|
||||
<p>
|
||||
<a href="https://jigsaw.w3.org/css-validator/check/referer">
|
||||
<img style="border:0;width:88px;height:31px" src="https://jigsaw.w3.org/css-validator/images/vcss"
|
||||
|
Loading…
Reference in New Issue
Block a user