zk_html/lj-dump/L-1641.html

71 lines
2.7 KiB
HTML

<!doctype html>
<html>
<head>
<title>Zk | Happy Halloween</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 | Happy Halloween</h1>
</header>
<article class="content">
<p>Little song I whipped up in Reason for the occasion <a href="http://mjs-svc.com/rand-bin/dark ambient test.mp3">here</a>.</p>
<!-- AddThis Button BEGIN -->
<script type="text/javascript">
//<!--
var addthis_product = 'wpp-250';
var addthis_append_data = 'false';var addthis_language = 'en';
//-->
</script>
<div class="addthis_container"><a addthis:title="Happy Halloween" addthis:url="http://blag.drab-makyo.com/2010/10/31/happy-halloween/" class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;username=wp-4bb3baf90c7008fd"><img alt="Bookmark and Share" height="16" src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" style="border:0" width="125"/></a><script src="http://s7.addthis.com/js/250/addthis_widget.js#username=wp-4bb3baf90c7008fd" type="text/javascript"></script></div>
<!-- AddThis Button END -->
<p style="border: 1px solid black; padding: 3px;"><strong>Originally published at <a href="http://blag.drab-makyo.com/2010/10/31/happy-halloween/">Drab Makyo</a>. Please leave any <a href="http://blag.drab-makyo.com/2010/10/31/happy-halloween/#comments">comments</a> there.</strong></p
<span class="control">Expand all</span>
</article>
<footer>
<p>Page generated on 2010-11-01 02:24:27</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>