-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschedule.html
More file actions
91 lines (85 loc) · 2.53 KB
/
Copy pathschedule.html
File metadata and controls
91 lines (85 loc) · 2.53 KB
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
<!DOCTYPE html>
<html lang = "en">
<head>
<title> Schedule </title>
<meta charset = "utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="icon" type="image/jpg" href="icon.jpg">
</head>
<body>
<div id="wrapper">
<header>
<h1> Schedule </h1>
</header>
<nav>
<ul class="navigation">
<li> <a href="mountain.html" onmouseover="OpenMenu('msubmenu')"> The Mountain </a>
<ul id="msubmenu" onmouseover="KeepSubMenu()" onmouseout="CloseMenu()">
<li><a href="history.html">History</a></li>
</ul>
</li>
<li> <a href="tickets.html" onmouseover="OpenMenu('tsubmenu')"> Ticket Pricing </a>
<ul id="tsubmenu" onmouseover="KeepSubMenu()" onmouseout="CloseMenu()">
<li><a href="rent.html">Rentals</a></li>
</ul>
</li>
<li> <a href="contact.html" onmouseover="CloseMenu()"> Contact Page </a></li>
<li> <a href="index.html" onmouseover="CloseMenu()"> Home </a> </li>
</ul>
</nav>
<div id="content">
<div id="left">
<div id="schedulepicture"></div>
</div>
<div id ="right">
<h3> Schedule: </h3>
<h5>Closings: </h5>
<ol>
<li>December 26 - Rural Dionysia</li>
<li>March 10-17 - Great Dionysia</li>
<li>February 11-13 - Anthesteria</li>
<li>July 23-30 - Panathena</li>
<li>Thesmophoria</li>
</ol>
</div>
</div>
<footer>
@ Warren and Jordan
</footer>
</div>
<script>
var Item; //Hold current open menu item
var Timer; //Hold timeout value
document.onclick=CloseMenu; //Hide the menu after clicking outside it
function OpenMenu(Menu)
{
//if open, close it
if(Item)
{
Item.style.visibility="hidden";
}
//setup new menu item
Item=document.getElementById(Menu);
Item.style.visibility="visible";
}
function CloseMenu()
{
//setup a timer to close menu
Timer = window.setTimeout(PerformClose, 500);
}
function PerformClose()
{
if(Item)
{
Item.style.visibility="hidden";
}
}
function KeepSubMenu()
{
//reset the timer
window.clearTimeout(Timer);
}
</script>
</body>
</html>