-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
101 lines (87 loc) · 3.21 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!--
<!DOCTYPE HTML>
<html>
<head>
<title>Home -- SionainnSun's Writing</title>
<link type="text/css" rel="stylesheet" href="css/home.css"/>
<script>
(function(i,s,o,g,r,a,m){
i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-86920982-1', 'auto');
ga('send', 'pageview');
</script>
<script>
var toggleActive = function(id) {
var eles = document.getElementsByClassName('active');
for(var i=0; i < eles.length; i++) {
var currentId = eles[i].getAttribute('id');
if(currentId !== id) {
eles[i].classList.toggle('active');
}
}
if(eles.length === 0) {
document.getElementById(id).classList.toggle('active');
}
}
var toggleDisplay = function(id) {
document.getElementById(id).style.display = block;
}
</script>
</head>
<body>
<header>
-->
{% include header.html %}
<!--
<div id="header">
<div class="logo"><a href="#"><img src="https://s12.postimg.org/yp7loxt4d/Writing_from_the_heart_logo.png" alt="Image Not Found" /></a></div>
<div class="name">Writing From The Heart, Inc.</div>
<div id="topRightBtns">
<div class="menu">
<ul>
<li><a href="#" id="signIn">Sign In</a></li>
<li><a href="#" id="signUp">Sign Up</a></li>
</ul>
</div>
</div>
</div>
</header>
<div class="menu">
<ul>
<li>
<a href="#" class="active" id="home" onClick = "toggleActive('home');">Home</a>
</li>
<li class="dropdown">
<a href="#" class="dropdownbtn" id="aboutMe" onClick = "toggleActive('aboutMe');">About Me</a>
<div class="dropdownmenu" id ="aboutMeMenu">
<a href="#" id="childhood">Childhood</a>
<a href="#" id="personality">Personality</a>
</div>
</li>
<li class="dropdown">
<a href="writing" class="dropdownbtn" id="writing" onClick = "toggleActive('writing');">My Writing</a>
<div class="dropdownmenu" id ="writingMenu">
<a href="#" class="dropdownmenulink" id="poems">Poems</a>
<a href="#" id="essays">Essays</a>
</div>
</li>
<li class="dropdown">
<a href="#" class="dropdownbtn" id="trivia" onClick="toggleActive('trivia');">Trivia</a>
<div class="dropdownmenu">
<a href="#" id="harrypottertrivia"><em>Harry Potter</em> Trivia</a>
</div>
</li>
</ul>
</div>
-->
<div class="news">
<h2>Recent news</h2>
</div>
<footer>
Hello there I am a footer
</footer>
</body>
</html>