source: branches/2.2.0.1/calendar/js/dhtmlx/samples/03_extensions/16_limitation.html @ 4001

Revision 4001, 2.0 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 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        <script src="../../codebase/ext/dhtmlxscheduler_limit.js" type="text/javascript" charset="utf-8"></script>
10        <script src="../../codebase/ext/dhtmlxscheduler_serialize.js" type="text/javascript" charset="utf-8"></script>
11       
12       
13<style type="text/css" media="screen">
14        html, body{
15                margin:0px;
16                padding:0px;
17                height:100%;
18                overflow:hidden;
19        }       
20</style>
21
22<script type="text/javascript" charset="utf-8">
23        function init() {
24                scheduler.config.xml_date="%Y-%m-%d %H:%i";
25
26                scheduler.init('scheduler_here',new Date(2009,5,30),"week");
27                scheduler.config.limit_start = new Date(2009,5,15);
28                scheduler.config.limit_end = new Date (2009,6,15);
29                scheduler.parse([
30                        { start_date:"2009-7-1 4:00", end_date:"2009-7-1 6:00", text:"You can create events only"},
31                        { start_date:"2009-7-1 6:00", end_date:"2009-7-1 8:00", text:"From June 15"},
32                        { start_date:"2009-7-2 6:00", end_date:"2009-7-2 8:00", text:"To July 15"}
33                ],"json")
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">&nbsp;</div>
41                        <div class="dhx_cal_next_button">&nbsp;</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>
Note: See TracBrowser for help on using the repository browser.