zk_html/lj-dump/L-30.html

65 lines
2.3 KiB
HTML

<!doctype html>
<html>
<head>
<title>Zk | Notes for Health Presentation</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 | Notes for Health Presentation</h1>
</header>
<article class="content">
<p>http://www.cyberpsych.org/homophobia/
http://www.now.org/issues/lgbi/stats.html
http://www.religioustolerance.org/hom_fuel.htm
http://psychology.ucdavis.edu/rainbow/html/sexual_prejudice.html
http://www.gaychristianonline.org/christian.html
http://216.239.33.100/search?q=cache:gUNeIWmMrw4C:www.catc.org/documents/homosexuality.doc+paul+apostle+gay&amp;hl=en&amp;ie=UTF-8
http://www.oberlin.edu/~mtowey/soci/homoteen1.html
http://www.gaysouthafrica.org.za/gayteens/homophobia.asp
http://www.sxetc.org/library/genLibArticle.asp?CategoryID=1285&amp;ArticleID=art_1159
http://www.geocities.com/gsa_chat/peer_support.html</p>
<span class="control">Expand all</span>
</article>
<footer>
<p>Page generated on 2002-11-26 08:00:47</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>