-
Notifications
You must be signed in to change notification settings - Fork 0
/
mobile_sample.html
44 lines (30 loc) · 1.42 KB
/
mobile_sample.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
<!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-us">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width" />
<title>PhoneGap Site Calendar</title>
<link rel="stylesheet" href="css/calendar.css" type="text/css"/>
<link rel="stylesheet" href="css/layout.css" type="text/css"/>
<script src="js/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="js/pg_calendar.js" type="text/javascript"></script>
</head>
<body>
<div class="wrap">
<div class="left-group">
<div class="section">
<div id="calendar" class="calendar"></div>
</div>
<div class="section">
<h2>Upcoming Events</h2>
<div id="upcoming-events">loading...</div>
</div>
</div>
<div class="content-holder" id="calendar-content">
</div>
</div>
<script type="text/javascript">
var feed = "http://www.google.com/calendar/feeds/[email protected]/public/full?alt=jsonc";
var cal = new PGCalendar(feed, {calendar:'#calendar', event_list:'#upcoming-events', event_detail:'#calendar-content'});
</script>
</body>