source: sandbox/2.3-MailArchiver/calendar/js/dhtmlx/samples/02_customization/11_auto_end_date.html @ 6779

Revision 6779, 1.8 KB checked in by rafaelraymundo, 12 years ago (diff)

Ticket #2946 - Liberado Expresso(branch 2.3) integrado ao MailArchiver?.

Line 
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>Scheduler, auto end time example</title>
6
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
19</style>
20
21<script type="text/javascript" charset="utf-8">
22        function init() {
23                scheduler.config.multi_day = true;
24                scheduler.config.xml_date="%Y-%m-%d %H:%i";
25                scheduler.config.details_on_dblclick = true;
26                scheduler.config.details_on_create = true;
27               
28                scheduler.config.event_duration = 60; //specify event duration in munites for auto end time
29                scheduler.config.auto_end_date = true;
30               
31                scheduler.init('scheduler_here',new Date(2010,05,11),"week");
32                scheduler.load("../common/events.xml");
33        }
34</script>
35
36</head>
37
38<body onload="init();">
39        <div id="scheduler_here" class="dhx_cal_container" style='width:100%; height:100%;'>
40                <div class="dhx_cal_navline">
41                        <div class="dhx_cal_prev_button">&nbsp;</div>
42                        <div class="dhx_cal_next_button">&nbsp;</div>
43                        <div class="dhx_cal_today_button"></div>
44                        <div class="dhx_cal_date"></div>
45                        <div class="dhx_cal_tab" name="day_tab" style="right:204px;"></div>
46                        <div class="dhx_cal_tab" name="week_tab" style="right:140px;"></div>
47                        <div class="dhx_cal_tab" name="month_tab" style="right:76px;"></div>
48                </div>
49                <div class="dhx_cal_header">
50                </div>
51                <div class="dhx_cal_data">
52                </div>
53        </div>
54</body>
Note: See TracBrowser for help on using the repository browser.