-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
39 lines (36 loc) · 1.15 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Facebook</title>
<link rel="stylesheet" type="text/css" media="screen" href="css/styles.css">
<script type="text/javascript" src="src/fb.min.js"></script>
<script type="text/javascript">
function init() {
var calendar = new FB.ui.calendar.Calendar("calendar");
calendar.layOutDay([
{id : 1, start : 60, end : 120}
,{id : 2, start : 100, end : 240}
,{id : 3, start : 670, end : 720}
,{id : 4, start : 0, end : 160}
,{id : 5, start : 122, end : 150}
,{id : 6, start : 0, end : 150}
,{id : 7, start : 140, end : 240}
,{id : 8, start : 121, end : 240}
,{id : 9, start : 123, end : 240}
,{id : 10, start : 124, end : 240}
,{id : 11, start : 125, end : 240}
,{id : 12, start : 141, end : 400}
,{id : 13, start : 420, end : 520}
,{id : 14, start : 410, end : 530}
]);
};
</script>
</head>
<body onload="init()">
<div id="header">
<div id="logo"></div>
</div>
<div id="calendar"></div>
</body>
</html>