source: branches/2.2.0.1/calendar/js/dhtmlx/samples/01_initialization_loading/02_hour_scale_format.html @ 4001

Revision 4001, 1.7 KB checked in by rafaelraymundo, 13 years ago (diff)

Ticket #1615 - Componente novo para agenda......................................

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
2<head>
3        <meta http-equiv="Content-type" content="text/html; charset=utf-8">
4        <title></title>
5</head>
6        <script src="../../codebase/dhtmlxscheduler.js" type="text/javascript" charset="utf-8"></script>
7        <link rel="stylesheet" href="../../codebase/dhtmlxscheduler.css" type="text/css" title="no title" charset="utf-8">
8
9       
10<style type="text/css" media="screen">
11        html, body{
12                margin:0px;
13                padding:0px;
14                height:100%;
15                overflow:hidden;
16        }       
17        #not_for_test{
18                color:red;
19                position:absolute;
20                z-index:9999;
21                font-size:40pt;
22                top:50px; left:300px;
23        }
24</style>
25<script type="text/javascript" charset="utf-8">
26        function init() {
27               
28                scheduler.config.start_on_monday=false;
29                scheduler.config.xml_date="%Y-%m-%d %H:%i";
30                scheduler.config.hour_date="%h:%i %A";
31               
32                //scheduler.config.hour_size_px=25;
33
34                scheduler.init('scheduler_here',new Date(2010,0,10),"week");
35                scheduler.load("../common/events.xml");
36               
37        }
38</script>
39
40<body onload="init();">
41        <div id="scheduler_here" class="dhx_cal_container" style='width:100%; height:100%;'>
42                <div class="dhx_cal_navline">
43                        <div class="dhx_cal_prev_button">&nbsp;</div>
44                        <div class="dhx_cal_next_button">&nbsp;</div>
45                        <div class="dhx_cal_today_button"></div>
46                        <div class="dhx_cal_date"></div>
47                        <div class="dhx_cal_tab" name="day_tab" style="right:204px;"></div>
48                        <div class="dhx_cal_tab" name="week_tab" style="right:140px;"></div>
49                        <div class="dhx_cal_tab" name="month_tab" style="right:76px;"></div>
50                </div>
51                <div class="dhx_cal_header">
52                </div>
53                <div class="dhx_cal_data">
54                </div>         
55        </div>
56</body>
Note: See TracBrowser for help on using the repository browser.