| 21627 |
kshitij.so |
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
2 |
<html>
|
|
|
3 |
<head>
|
|
|
4 |
<link rel='stylesheet' type='text/css' href='../fullcalendar/fullcalendar.css' />
|
|
|
5 |
<link rel='stylesheet' type='text/css' href='../fullcalendar/fullcalendar.print.css' media='print' />
|
|
|
6 |
<script type='text/javascript' src='../jquery/jquery-1.8.1.min.js'></script>
|
|
|
7 |
<script type='text/javascript' src='../jquery/jquery-ui-1.8.23.custom.min.js'></script>
|
|
|
8 |
<script type='text/javascript' src='../fullcalendar/fullcalendar.min.js'></script>
|
|
|
9 |
<script type='text/javascript' src='../fullcalendar/gcal.js'></script>
|
|
|
10 |
<script type='text/javascript'>
|
|
|
11 |
|
|
|
12 |
$(document).ready(function() {
|
|
|
13 |
|
|
|
14 |
$('#calendar').fullCalendar({
|
|
|
15 |
|
|
|
16 |
// US Holidays
|
|
|
17 |
events: 'http://www.google.com/calendar/feeds/usa__en%40holiday.calendar.google.com/public/basic',
|
|
|
18 |
|
|
|
19 |
eventClick: function(event) {
|
|
|
20 |
// opens events in a popup window
|
|
|
21 |
window.open(event.url, 'gcalevent', 'width=700,height=600');
|
|
|
22 |
return false;
|
|
|
23 |
},
|
|
|
24 |
|
|
|
25 |
loading: function(bool) {
|
|
|
26 |
if (bool) {
|
|
|
27 |
$('#loading').show();
|
|
|
28 |
}else{
|
|
|
29 |
$('#loading').hide();
|
|
|
30 |
}
|
|
|
31 |
}
|
|
|
32 |
|
|
|
33 |
});
|
|
|
34 |
|
|
|
35 |
});
|
|
|
36 |
|
|
|
37 |
</script>
|
|
|
38 |
<style type='text/css'>
|
|
|
39 |
|
|
|
40 |
body {
|
|
|
41 |
margin-top: 40px;
|
|
|
42 |
text-align: center;
|
|
|
43 |
font-size: 14px;
|
|
|
44 |
font-family: "Lucida Grande",Helvetica,Arial,Verdana,sans-serif;
|
|
|
45 |
}
|
|
|
46 |
|
|
|
47 |
#loading {
|
|
|
48 |
position: absolute;
|
|
|
49 |
top: 5px;
|
|
|
50 |
right: 5px;
|
|
|
51 |
}
|
|
|
52 |
|
|
|
53 |
#calendar {
|
|
|
54 |
width: 900px;
|
|
|
55 |
margin: 0 auto;
|
|
|
56 |
}
|
|
|
57 |
|
|
|
58 |
</style>
|
|
|
59 |
</head>
|
|
|
60 |
<body>
|
|
|
61 |
<div id='loading' style='display:none'>loading...</div>
|
|
|
62 |
<div id='calendar'></div>
|
|
|
63 |
</body>
|
|
|
64 |
</html>
|