zk_html/lj-dump/L-1484.html

58 lines
2.4 KiB
HTML
Raw Normal View History

2020-04-23 20:50:07 +00:00
<!doctype html>
<html>
<head>
<title>Zk | NaNoWriMo</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 | NaNoWriMo</h1>
</header>
<article class="content">
<p>28,406 words - 56.81% I've now surpassed my previous effort :D</p>
<p>I'm getting into the swing of the second theme, two chapters into it now. I'm curious, for those who are reading as I write, do you want me to tell you what the themes represent before I get too deep into the second one, or do you want to guess for yourselves? I had planned on the latter and asking when I got halfway done with the book just to see if I was pulling things off, but I figured I'd see if y'all want to know up front :o)</p>
<p>Anyway, I left off halfway through chapter sixteen which I finished earlier today, so here's the link to that: http://drab-makyo.com/node/45 I promise I'm not writing a porno, but there's more sex c.c It's part of the plot, I promise</p>
<span class="control">Expand all</span>
</article>
<footer>
<p>Page generated on 2008-11-07 06:19:32</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>