mirror of
https://github.com/nhammer514/textfiles-politics.git
synced 2024-12-26 15:59:29 -05:00
66 lines
3.0 KiB
HTML
66 lines
3.0 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Full Text Links</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<link rel="stylesheet" href="CSSstyle.css">
|
|
</head>
|
|
<body>
|
|
<button onclick="topFunction()" id="to-top" title="Go to top"><img alt="up arrow"
|
|
src="https://cdn.onlinewebfonts.com/svg/img_231938.png" width="30" /></button>
|
|
<script>
|
|
// Get the button
|
|
let mybutton = document.getElementById("to-top");
|
|
|
|
// When the user scrolls down 20px from the top of the document, show the button
|
|
window.onscroll = function () {
|
|
scrollFunction()
|
|
};
|
|
|
|
function scrollFunction() {
|
|
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
|
|
mybutton.style.display = "block";
|
|
} else {
|
|
mybutton.style.display = "none";
|
|
}
|
|
}
|
|
|
|
// When the user clicks on the button, scroll to the top of the document
|
|
function topFunction() {
|
|
document.body.scrollTop = 0;
|
|
document.documentElement.scrollTop = 0;
|
|
}</script>
|
|
<h1 id="title-index">Full Text Links</h1>
|
|
|
|
<nav id="menu">
|
|
<a href="index.html"><div class="button">Home</div></a>
|
|
<a href="fulltext.html"><div class="button">Fulltext</div></a>
|
|
<a href="analysis.html"><div class="button">Analysis</div></a>
|
|
<a href="gallery.html"><div class="button">Gallery</div></a>
|
|
<a href="methods.html"><div class="button">Methods</div></a>
|
|
<a href="about.html"><div class="button">About</div></a>
|
|
<a href="GitHub.html"><div class="button">GitHub <img
|
|
alt="github icon"
|
|
src="https://logos-download.com/wp-content/uploads/2016/09/GitHub_logo.png"
|
|
width="15" /></div></a>
|
|
|
|
</nav>
|
|
<h1 id="GitHub">Files we worked with</h1>
|
|
|
|
<nav id="github-links">
|
|
<h2>Links to complete Text files</h2>
|
|
|
|
<pre>
|
|
|
|
</pre>
|
|
|
|
<a href="https://github.com/nhammer514/textfiles-politics/tree/main/conspiracyTextFiles"><h3>Conspiracy Text Files</h3></a><br/>
|
|
|
|
<a href="https://github.com/nhammer514/textfiles-politics/tree/main/conspiracyTextFilesRegEx"><h3>Conspiracy Text Files with RegEx</h3></a><br/>
|
|
</nav>
|
|
<hr/>
|
|
<h2 id="copyright">
|
|
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="GNU Public License e" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a><br />
|
|
</h2>
|
|
</body>
|
|
</html> |