zk_html/lj-dump/L-159.html

56 lines
2.6 KiB
HTML

<!doctype html>
<html>
<head>
<title>Zk | Damnit..</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 | Damnit..</h1>
</header>
<article class="content">
<p>I spent the day having responsibilities that aren't mine pushed upon me unwillingly because people can't deal with them themselves. So when I got home today (to a package, yay) and talked with Moondog, I was hardly in the mood for an argument, so I tried everything I could think off to be as reasonable as possible, and now we're in limbo. Everything, that is, except backing down. There's nothing I can do about our current dilema. I've dealt with just dealing with things that make me uncomfortable in relationships in the past, and it almost always lead to disaster, so I stand firm (ha ha) on my current boundry of no sex. However, that just seemed to confuse things as I offered Moondog myself as I was before. I'm trying my hardest to be steadfast, but it's only seeming to make things worse. I wish I knew if I were helping Michael, or hurting him further by doing this. It makes me just want to give up sometimes; curl up, fall asleep, and never wake again</p>
<span class="control">Expand all</span>
</article>
<footer>
<p>Page generated on 2004-05-17 17:54:16</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>