zk_html/lj-dump/L-1478.html

59 lines
2.8 KiB
HTML

<!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><a href="http://www.languageisavirus.com/nanowrimo/word-meter.html" target="_blank" title="NaNoWriMo writing toys games &amp; gadgets"><div style="width:200px;height:15px;background:#FFFFFF;border:1px solid #000000;"><div style="width:28%;height:15px;background:#003300;font-size:8px;line-height:8px;"><br/></div></div></a>14014 / 50000 words. 28% done!</p>
<p>Sorry for the weird copying issues in the last couple of entries. My bad. I'd start typing in Vim without being in insert mode, and wound up yanking (copying) and pasting paragraphs accidentally. All told, deleting those duplicates brought me down to 9,778 words. I tried to make it up tonight, getting to my old count and writing past that.</p>
<p>Unfortunately, I don't feel like posting the whole thing twice. Twice, you say? Shameless plug, I say! I got my drupal site running enough to start posting things there, and the 'book' plugin is pretty awesome, so you can see the whole thing at http://drab-makyo.com/node/3</p>
<p>Or you can just pick up <a href="http://drab-makyo.com/node/29">where we last left off</a>. Caution! Matt got sappy, borderline saccharine! Oh, and I wrote about morning wood. Just a forewarning :</p>
<span class="control">Expand all</span>
</article>
<footer>
<p>Page generated on 2008-11-04 05:16:31</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>