1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
---|
2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
---|
3 |
|
---|
4 | <head>
|
---|
5 | <meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
---|
6 |
|
---|
7 | <script src='../../codebase/dhtmlxscheduler.js' type="text/javascript" charset="utf-8"></script>
|
---|
8 | <link rel='STYLESHEET' type='text/css' href='../../codebase/dhtmlxscheduler.css'>
|
---|
9 |
|
---|
10 | <script src="../../codebase/ext/dhtmlxscheduler_minical.js" type="text/javascript" charset="utf-8"></script>
|
---|
11 | <link rel="stylesheet" href="../../codebase/ext/dhtmlxscheduler_ext.css" type="text/css" media="screen" title="no title" charset="utf-8">
|
---|
12 |
|
---|
13 |
|
---|
14 | <link rel="stylesheet" href="extra/dhtmlxlayout.css" type="text/css" media="screen" title="no title" charset="utf-8">
|
---|
15 | <link rel="stylesheet" href="extra/skins/dhtmlxlayout_dhx_skyblue.css" type="text/css" media="screen" title="no title" charset="utf-8">
|
---|
16 |
|
---|
17 |
|
---|
18 | <style type="text/css" media="screen">
|
---|
19 | html, body{
|
---|
20 | margin:0px;
|
---|
21 | padding:0px;
|
---|
22 | height:100%;
|
---|
23 | overflow: hidden;
|
---|
24 | }
|
---|
25 |
|
---|
26 | .dhx_calendar_click {
|
---|
27 | background-color: #C2D5FC !important;
|
---|
28 | }
|
---|
29 | </style>
|
---|
30 |
|
---|
31 | <script type="text/javascript" charset="utf-8">
|
---|
32 | var prev = null;
|
---|
33 | var curr = null;
|
---|
34 | var next = null;
|
---|
35 |
|
---|
36 | function doOnLoad() {
|
---|
37 |
|
---|
38 |
|
---|
39 | scheduler.config.multi_day = true;
|
---|
40 | scheduler.config.xml_date="%Y-%m-%d %H:%i";
|
---|
41 |
|
---|
42 | scheduler.init('scheduler_here',new Date(2010,9,11),"week");
|
---|
43 | scheduler.load("../common/events.xml");
|
---|
44 |
|
---|
45 |
|
---|
46 |
|
---|
47 | var calendar = scheduler.renderCalendar({
|
---|
48 | container:"cal_here",
|
---|
49 | navigation:true,
|
---|
50 | handler:function(date){
|
---|
51 | scheduler.setCurrentView(date, scheduler._mode);
|
---|
52 | }
|
---|
53 | });
|
---|
54 | scheduler.linkCalendar(calendar);
|
---|
55 |
|
---|
56 | }
|
---|
57 | </script>
|
---|
58 | </head>
|
---|
59 |
|
---|
60 |
|
---|
61 | <body onload="doOnLoad();">
|
---|
62 | <div id="cal_here" style='width:200px; float: left;'></div>
|
---|
63 | <div id="scheduler_here" class="dhx_cal_container" style='width:auto; height:100%;'>
|
---|
64 | <div class="dhx_cal_navline">
|
---|
65 | <div class="dhx_cal_prev_button"> </div>
|
---|
66 | <div class="dhx_cal_next_button"> </div>
|
---|
67 | <div class="dhx_cal_today_button"></div>
|
---|
68 | <div class="dhx_cal_date"></div>
|
---|
69 | <div class="dhx_cal_tab" name="day_tab" style="right:204px;"></div>
|
---|
70 | <div class="dhx_cal_tab" name="week_tab" style="right:140px;"></div>
|
---|
71 | <div class="dhx_cal_tab" name="month_tab" style="right:76px;"></div>
|
---|
72 | </div>
|
---|
73 | <div class="dhx_cal_header">
|
---|
74 | </div>
|
---|
75 | <div class="dhx_cal_data">
|
---|
76 | </div>
|
---|
77 | </div>
|
---|
78 | </body> |
---|