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

Revision 6779, 2.3 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" media="screen" title="no title" charset="utf-8">
9
10        <script src="../../codebase/ext/dhtmlxscheduler_minical.js" type="text/javascript" charset="utf-8"></script>
11        <link rel="stylesheet" href="../../codebase/ext/dhtmlxscheduler_ext.css" type="text/css" media="screen" title="no title" charset="utf-8">
12
13   
14<style type="text/css" media="screen">
15   html, body{
16      margin:0px;
17      padding:0px;
18      height:100%;
19      overflow:hidden;
20   }   
21</style>
22
23<script type="text/javascript" charset="utf-8">
24        function init() {
25                scheduler.config.multi_day = true;
26               
27                scheduler.config.xml_date="%Y-%m-%d %H:%i";
28                scheduler.init('scheduler_here',new Date(2010,0,10),"week");
29                scheduler.load("../common/events.xml");
30        }
31       
32        function show_minical(){
33                if (scheduler.isCalendarVisible())
34                        scheduler.destroyCalendar();
35                else
36                        scheduler.renderCalendar({
37                                position:"dhx_minical_icon",
38                                date:scheduler._date,
39                                navigation:true,
40                                handler:function(date,calendar){
41                                        scheduler.setCurrentView(date);
42                                        scheduler.destroyCalendar()
43                                }
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_minical_icon" id="dhx_minical_icon" onclick="show_minical()">&nbsp;</div>
56         <div class="dhx_cal_tab" name="day_tab" style="right:204px;"></div>
57         <div class="dhx_cal_tab" name="week_tab" style="right:140px;"></div>
58         <div class="dhx_cal_tab" name="month_tab" style="right:76px;"></div>
59      </div>
60      <div class="dhx_cal_header">
61      </div>
62      <div class="dhx_cal_data">
63      </div>
64   </div>
65</body>
Note: See TracBrowser for help on using the repository browser.