zk_html/lj-dump/L-1126.html

58 lines
2.1 KiB
HTML

<!doctype html>
<html>
<head>
<title>Zk | Fff:Jaklsdjfnoi;w4eik</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 | Fff:Jaklsdjfnoi;w4eik</h1>
</header>
<article class="content">
<p>So pissed.</p>
<p>I went out for a ride and took along my QL17, all excited to be taking pictures again. I even processed the film right as I got home, only to find that my scanner seems to have developed a mean streak, <a href="http://makyo.drab-makyo.com/08.png">no</a> <a href="http://makyo.drab-makyo.com/17.png">pun</a> <a href="http://makyo.drab-makyo.com/22.png">intended.</a></p>
<p>Of course, I didn't find this out until I had already finished scanning all 25 pictures</p>
<span class="control">Expand all</span>
</article>
<footer>
<p>Page generated on 2007-08-10 05:53:43</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>