forked from gdiannarbor/gdiannarbor.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgs-matrix.html
More file actions
28 lines (25 loc) · 935 Bytes
/
gs-matrix.html
File metadata and controls
28 lines (25 loc) · 935 Bytes
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
<!DOCTYPE html>
<html>
<head>
<title>GDI Ann Arbor</title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/live-tweets.css">
<script>
$(document).ready(function () {
function getParameterByName(name) {
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
results = regex.exec(location.search);
return results == null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
}
var bg_id = getParameterByName('bg') || 1;
$('html').css('background', "url(images/matrix/matrix" + bg_id + ".gif)")
});
</script>
<style>
html { background-color: #333; }
</style>
</head>
<body>
</body>
</html>