forked from hydrasbane1/tech-acc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.inc
More file actions
98 lines (90 loc) · 3.3 KB
/
header.inc
File metadata and controls
98 lines (90 loc) · 3.3 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
92
93
94
95
96
97
98
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Arlington Career Center Parent Advisory Group</title>
<link rel="icon" href="static/media/acclogo.png">
<link rel="stylesheet" href="static/css/body.css">
<link rel="stylesheet" href="static/css/slide.css">
<link rel="stylesheet" href="static/css/header.css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js">
</script>
<script>
$(document).ready(function() {
$('div#navb').click(function() {
$('nav#mainNav').addClass('mobileNav');
$('header div#navb').addClass('hide');
$('header div#close').removeClass('hide');
});
$('header div#close').click(function() {
$('nav#mainNav').removeClass('mobileNav');
$('header div#navb').removeClass('hide');
$('header div#close').addClass('hide');
});
});
</script>
<script type="text/javascript">
// Written by Kevin Cole [kjcole@ubuntu.com] 2014.10.24
//
// Dynamically resize the slideshow parent div to the size of the
// auto-resizing images within it. Sadly, it appears I cannot
// force the slideshow parent div to resize any other way. Bugger.
window.onload = window.onresize = function () {
var slides = document.getElementById("slides");
var slide = slides.children[0];
slides.style.height = slide.offsetHeight + "px";
}
</script>
</head>
<body>
<header>
<!--this is for the mobile functionality the navburger is the three horisontal lines in the top right of the mobile version-->
<div id="navb"><img src="static/media/navburger.svg" alt="navigation icon">
</div>
<div id="close" class="hide"><img src="static/media/exit.svg" alt="navigation exit button"></div>
<!-- The Above is for the nav bar on mobil -->
<!-- This list is for the nav bar -->
<nav id="mainNav">
<!-- below is the nav bar buttons, the buttons class is the nav bar buttons and the dropdown is the dropdown bar. the a are links to other things, you can add as many a as you want, however you can't add any more buttons or dropdowns without changing the cdd :^] -->
<div class="button">About
<div class="dropdown">
<a href="about.php">History</a>
<a href="">Plans</a>
</div>
</div>
<!-- Below is how one makes a button with no dropdown -->
<a href="FAQ.php"><div class="button">FAQs</div></a>
<div class="button">Programs
<div class="dropdown">
<a href="">Engineering</a>
<a href="">Computer Science</a>
<a href="">Psudo-Engineering</a>
<a href="">Forbidden Engineering</a>
</div>
</div>
<!-- Below is the logo, there really is no need to change it unless you want to replace the image with a better one -->
<a href="index.php">
<div class="logo">
<img src="static/media/techlogo.png" alt="Logo"/>
</div>
</a>
<div class="button">News
<div class="dropdown">
<a href="">News</a>
<a href="">More News</a>
<a href="">Memes</a>
<a href="">Squid Attacks NYC</a>
</div>
</div>
<div class="button">Links
<div class="dropdown">
<a href="">Group 1</a>
<a href="">Group b</a>
<a href="">Group III</a>
<a href="">Secret Group</a>
</div>
</div>
<a href=""><div class="button">Contact
</div></a>
</nav>
</header>