source: sandbox/2.3-MailArchiver/calendar/js/dhtmlx/samples/01_initialization_loading/05_loading_mysql.html @ 6779

Revision 6779, 2.0 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></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" 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</style>
19
20<script type="text/javascript" charset="utf-8">
21        function init() {
22               
23                scheduler.config.xml_date="%Y-%m-%d %H:%i";
24                scheduler.config.prevent_cache = true;
25               
26                scheduler.config.lightbox.sections=[   
27                        {name:"description", height:130, map_to:"text", type:"textarea" , focus:true},
28                        {name:"location", height:43, type:"textarea", map_to:"details" },
29                        {name:"time", height:72, type:"time", map_to:"auto"}
30                ]
31                scheduler.config.first_hour=4;
32                scheduler.locale.labels.section_location="Location";
33                //scheduler.config.details_on_create=true;
34                //scheduler.config.details_on_dblclick=true;
35
36
37               
38                scheduler.init('scheduler_here',new Date(2009,10,1),"month");
39                scheduler.setLoadMode("month")
40                scheduler.load("php/events.php");
41               
42                var dp = new dataProcessor("php/events.php");
43                dp.init(scheduler);
44
45        }
46</script>
47
48<body onload="init();">
49        <div id="scheduler_here" class="dhx_cal_container" style='width:100%; height:100%;'>
50                <div class="dhx_cal_navline">
51                        <div class="dhx_cal_prev_button">&nbsp;</div>
52                        <div class="dhx_cal_next_button">&nbsp;</div>
53                        <div class="dhx_cal_today_button"></div>
54                        <div class="dhx_cal_date"></div>
55                        <div class="dhx_cal_tab" name="day_tab" style="right:204px;"></div>
56                        <div class="dhx_cal_tab" name="week_tab" style="right:140px;"></div>
57                        <div class="dhx_cal_tab" name="month_tab" style="right:76px;"></div>
58                </div>
59                <div class="dhx_cal_header">
60                </div>
61                <div class="dhx_cal_data">
62                </div>         
63        </div>
64</body>
Note: See TracBrowser for help on using the repository browser.