ffff
This commit is contained in:
parent
42b25c2090
commit
24ae20b2df
|
@ -16,29 +16,37 @@
|
|||
<br>
|
||||
<div id='shodiv'></div>
|
||||
<ul>
|
||||
<li><p>Children who touches my <p id='pep'>-----</p> - Why? Just stop. JUST STOP! JUST DFIGHREGHJDRGHIGHDIBG</p></li>
|
||||
<li><p>Munint - Gimme my money back you <p id='fek'>----</p>er</p></li>
|
||||
<li><p>Children who touches my <a id='pep'>-----</p> - Why? Just stop. JUST STOP! JUST DFIGHREGHJDRGHIGHDIBG</a></li>
|
||||
<li><p>Munint - Gimme my money back you <a id='fek'>----</p>er</a></li>
|
||||
</ul>
|
||||
<script src='toc.js'></script>
|
||||
<p aria-hidden=true class='h' id='me'>0</p>
|
||||
<script>
|
||||
var p = "<p id='sho' onclick='shows()'>Show swear words (Yes, this is clickable)</p>";
|
||||
var p = "<p id='sho' onclick='s()'>Show swear words (Yes, this is clickable)</p>";
|
||||
var inn = document.getElementById("shodiv");
|
||||
inn.innerHTML = p;
|
||||
var pepp = document.getElementById("pep");
|
||||
var fekk = document.getElementById("fek");
|
||||
var shoo = document.getElementById("sho");
|
||||
var ffff = document.getElementById("me");
|
||||
function shows() {
|
||||
pepp.innerHTML = "pepis";
|
||||
fekk.innerHTML = "fuck";
|
||||
shoo.innerHTML = "Hide swear words";
|
||||
shoo.onclick = "hides()";
|
||||
}
|
||||
function hides() {
|
||||
pepp.innerHTML = "-----";
|
||||
fekk.innerHTML = "----";
|
||||
shoo.innerHTML = "Show swear words";
|
||||
shoo.onclick = "shows()";
|
||||
}
|
||||
function s() {
|
||||
if (ffff.innerHTML == "0") {
|
||||
shows()
|
||||
ffff.innerHTML = "1";
|
||||
} else {
|
||||
hides()
|
||||
ffff.innerHTML = "0";
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue