-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
47 lines (44 loc) · 1.64 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
40
41
42
43
44
45
46
47
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<script src="jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
<script src="jquery-ical.js" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" href="css/master.css" type="text/css">
<title>iCal</title>
</head>
<body>
<script type="text/javascript">
$(document).ready(function()
{
$("#ical").ical({
/*beforeMonth:function(date)
{
$.ajax({
type: "GET",
url: "action.php",
dataType: "json",
data: "date="+date,
async: false,
success: function(json){
$.fn.ical.changeEventDates(json);
}
})
},*/
//daynames: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
//startOnSunday: true,
eventdates: [{"date": "2009-03-21", "title": "My birthday", "desc": "Its my birthday!"},
{"date": "yyyy-01-01", "title": "New Year", "desc": "Its a new year!"},
{"date": "2009-mm-01", "title": "New Month", "desc": "First day of the new month!"},
{"date": "2010-mm-01", "title": "New Month", "desc": "First day of the new month!"},
{"date": "2010-09-01", "title": "Convention", "desc": "September convention."},
{"date": "2010-09-02", "title": "Convention", "desc": "September convention day two."},
{"date": "2010-mm-01", "title": "Towl", "desc": "Dont forget to bring a towl."}
]
});
});
</script>
<div id="ical"></div>
</body>
</html>