zk_html/lj-dump/L-1067.html

63 lines
2.5 KiB
HTML

<!doctype html>
<html>
<head>
<title>Zk | Meme and picture</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 | Meme and picture</h1>
</header>
<article class="content">
<p>So.. today I had to install Acrobat for a woman named Lori Oling. Like most large businesses, our usernames tend to be a combination of initials and names. </p>
<p>Hehehe. \loling</p>
<p>Stolen from ferrets:</p>
<p>Ask me to take a picture of any aspect of my life that you're interested in/curious about - it can be anything from the house I live in to my favorite shoes. Leave your choice here as a comment, and I will reciprocate by taking the pictures and posting them as an LJ entry. That way you get to know a little bit about my life.</p>
<p>Also, <details text="a picture of my bike:"><summary>a picture of my bike:</summary>
<a href="http://www.flickr.com/photos/ranna/577787209/" title="Photo Sharing"><img alt="Foxbike" height="332" src="http://farm2.static.flickr.com/1231/577787209_6c97bf84af.jpg" width="500"/></a>
(click more and larger pictures on Flickr)</p>
<p>&lt;/details</p>
<span class="control">Expand all</span>
</article>
<footer>
<p>Page generated on 2007-06-20 21:23:45</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>