61 lines
2.5 KiB
HTML
61 lines
2.5 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>Zk | Fromafuzzy.</title>
|
|
<link rel="stylesheet" type="text/css" href="/style.css" />
|
|
<meta name="viewport" content="width=device-width" />
|
|
<meta charset="utf-8" />
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<header>
|
|
<h1>Zk | Fromafuzzy.</h1>
|
|
</header>
|
|
<article class="content">
|
|
<p>Test!
|
|
<details><summary>Read more...</summary></p>
|
|
<p></details>
|
|
<img alt="Yellow Vibes" border="0" src="http://images.quizilla.com/W/waywardpixie/1078266322_ergyyellow.jpg"/><br/>Your Energy is Yellow. You are generous, bright,<br/>and expressive. An excellent communicator, you<br/>keep your audience captivated with your<br/>animated storytelling. Sometimes you talk too<br/>much, but when you learn to listen you will be<br/>sought out for your talents to advise.</p>
|
|
<p>The communications field appeals to you as a<br/>profession. Public speaking, writing, radio,<br/>acting or teaching would also be good career<br/>choices.
|
|
<br/><br/><a href="http://quizilla.com/users/waywardpixie/quizzes/What%20color%20is%20your%20energy%3F/"> <font size="-1">What color is your energy?</font></a><br/> <font size="-3">brought to you by <a href="http://quizilla.com">Quizilla</a></font</p>
|
|
<span class="control">Expand all</span>
|
|
</article>
|
|
<footer>
|
|
<p>Page generated on 2004-03-07 19:49:26</p>
|
|
</footer>
|
|
</main>
|
|
<script type="text/javascript">
|
|
document.querySelectorAll('li').forEach(el => {
|
|
if (el.querySelectorAll('li').length !== 0) {
|
|
el.classList.add('has-nested', 'closed');
|
|
el.innerHTML = `<span class="toggle"></span> ${el.innerHTML}`;
|
|
}
|
|
});
|
|
document.querySelectorAll('.toc .has-nested').forEach(el => {
|
|
el.classList.remove('has-nested', 'closed');
|
|
});
|
|
document.querySelectorAll('li.has-nested').forEach(el => {
|
|
el.querySelector('.toggle').addEventListener('click', () => {
|
|
el.classList.toggle('closed');
|
|
});
|
|
});
|
|
let expanded = false;
|
|
document.querySelector('.control').addEventListener('click', (e) => {
|
|
expanded = !expanded;
|
|
if (expanded) {
|
|
e.target.innerText = 'Collapse all';
|
|
} else {
|
|
e.target.innerText = 'Expand all';
|
|
}
|
|
document.querySelectorAll('.has-nested').forEach((el) => {
|
|
if (expanded) {
|
|
el.classList.remove('closed');
|
|
} else {
|
|
el.classList.add('closed')
|
|
}
|
|
});
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|