-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
49 lines (46 loc) · 1.27 KB
/
footer.php
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
<!--Menu stuff-->
<html>
<head>
<link rel="stylesheet" type="text/css" href="sass/main.css">
</head>
<body>
<nav class="footer-nav">
<ul>
<li id ="li1"><b>Copyright © 2016 Valerie Bay</b></a></li>
<div class="btn-group">
<img id="btn1" src="images/GitHubBlack.png">
<img id="btn2" src="images/LinkedInBlack.png">
</div>
</ul>
</nav>
<script>
$("a").click(function(event){
event.preventDefault();
link = this.href;
$(".body-container").fadeOut(function(){
window.location = link;
});
});
</script>
<script>
$('img#btn1').mouseenter(function(event){
$(this).attr("src", "images/GitHubWhite.png");
$(this).css("background-color", "black");
});
$('img#btn1').mouseleave(function(event){
$(this).attr("src", "images/GitHubBlack.png");
$(this).css("background-color", "transparent")
});
</script>
<script>
$('img#btn2').mouseenter(function(event){
$(this).attr("src", "images/LinkedInWhite.png");
$(this).css("background-color", "black");
});
$('img#btn2').mouseleave(function(event){
$(this).attr("src", "images/LinkedInBlack.png");
$(this).css("background-color", "transparent");
});
</script>
</body>
</html>