1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
---|
2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
---|
3 | <head>
|
---|
4 | <meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
---|
5 | <title></title>
|
---|
6 | </head>
|
---|
7 | <script src="../../codebase/dhtmlxscheduler.js" type="text/javascript" charset="utf-8"></script>
|
---|
8 | <link rel="stylesheet" href="../../codebase/dhtmlxscheduler.css" type="text/css" media="screen" title="no title" charset="utf-8">
|
---|
9 |
|
---|
10 |
|
---|
11 | <style type="text/css" media="screen">
|
---|
12 | html, body{
|
---|
13 | margin:0px;
|
---|
14 | padding:0px;
|
---|
15 | height:100%;
|
---|
16 | overflow:hidden;
|
---|
17 | }
|
---|
18 | .dhx_scale_holder_now.custom_color, .dhx_scale_holder.custom_color{
|
---|
19 | background-image:url(../common/hour_bg.png);
|
---|
20 | background-position:0px -252px;
|
---|
21 | }
|
---|
22 | </style>
|
---|
23 |
|
---|
24 | <script type="text/javascript" charset="utf-8">
|
---|
25 | function init() {
|
---|
26 |
|
---|
27 | scheduler.config.xml_date="%Y-%m-%d %H:%i";
|
---|
28 | scheduler.templates.week_date_class=function(date,today){
|
---|
29 | return "custom_color";
|
---|
30 | }
|
---|
31 | scheduler.init('scheduler_here',new Date(2010,0,10),"week");
|
---|
32 | scheduler.load("../common/events.xml");
|
---|
33 |
|
---|
34 | }
|
---|
35 | </script>
|
---|
36 |
|
---|
37 | <body onload="init();">
|
---|
38 | <div id="scheduler_here" class="dhx_cal_container" style='width:100%; height:100%;'>
|
---|
39 | <div class="dhx_cal_navline">
|
---|
40 | <div class="dhx_cal_prev_button"> </div>
|
---|
41 | <div class="dhx_cal_next_button"> </div>
|
---|
42 | <div class="dhx_cal_today_button"></div>
|
---|
43 | <div class="dhx_cal_date"></div>
|
---|
44 | <div class="dhx_cal_tab" name="day_tab" style="right:204px;"></div>
|
---|
45 | <div class="dhx_cal_tab" name="week_tab" style="right:140px;"></div>
|
---|
46 | <div class="dhx_cal_tab" name="month_tab" style="right:76px;"></div>
|
---|
47 | </div>
|
---|
48 | <div class="dhx_cal_header">
|
---|
49 | </div>
|
---|
50 | <div class="dhx_cal_data">
|
---|
51 | </div>
|
---|
52 | </div>
|
---|
53 | </body> |
---|