-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathevents.html
More file actions
69 lines (60 loc) · 2.02 KB
/
events.html
File metadata and controls
69 lines (60 loc) · 2.02 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
<!DOCTYPE html>
<html lang="en-US" prefix="og:http://ogp.me/ns#">
<head>
<meta charset="utf-8">
<script type="text/javascript" src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="crossorigin="anonymous"></script>
<script src="js/scripts.js" type="text/javascript"></script>
<script src="js/events.js" type="text/javascript"></script>
<script>loadHead()</script>
<title>ACM-SEMO | Events</title>
<script type="text/javascript">
$(document).ready(function(){
$(window).scroll( function(){
$(".events").each( function(i){
if(parseInt($(this).css("marginLeft")) < "5"){
var textBottom = $(this).position().top + $(this).outerHeight();
var windowBottom = $(window).scrollTop() + $(window).height();
if( textBottom < windowBottom ){
$(this).animate({'margin':'2em 5% 2em 5%'}, 400, "swing");
}
}
});
});
});
</script>
<style>
.events{
margin:1.5em 0 1.5em 0;
}
</style>
</head>
<body>
<nav class="navBar">
<img src="images/acm_logo_semo_transparent.png" id="logo" alt="acm semo logo" onclick="logoClick()"/>
<ul>
<li><a href="index.html">BACK</a></li>
</ul>
</nav>
<div>
<div>
<p style="text-align:center; font-size:xx-large;background-color:black; margin-top:70px;">ACM-SEMO TIMELINE</p>
<h1 style="text-align:center; font-size:x-large;">Current Events</h1>
<ul class="eventList" id="currentEvents">
<script>loadCurrent()</script>
</ul>
</div>
<!-- Picture of dempster; Meeting info; -->
<div class="parallax bg_img5">
<span class="background_text" style="opacity:1;">Explore more...</span>
</div>
<!-- Past Meeting List -->
<div id="eventContainer" class="main">
<p style="text-align:center; font-size:xx-large;background-color:black; color:lime;">Past Events</p>
<script>loadEvents()</script>
</div>
</div>
<footer id="bottom" class="caboose">
<script>loadFooter()</script>
</footer>
</body>
</html>