[4001] | 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.xml_date="%Y-%m-%d %H:%i";
|
---|
| 26 | scheduler.init('scheduler_here',new Date(2010,2,1),"day");
|
---|
| 27 | scheduler.load("../common/events.xml",function(){
|
---|
| 28 | scheduler.renderCalendar({
|
---|
| 29 | container:"mini_here",
|
---|
| 30 | date:scheduler._date,
|
---|
| 31 | navigation:true,
|
---|
| 32 | handler:function(date,calendar){
|
---|
| 33 | alert(date);
|
---|
| 34 | }
|
---|
| 35 | });
|
---|
| 36 | });
|
---|
| 37 | }
|
---|
| 38 |
|
---|
| 39 |
|
---|
| 40 | </script>
|
---|
| 41 |
|
---|
| 42 | <body onload="init();">
|
---|
| 43 | <div id="mini_here" style="width:200px"></div>
|
---|
| 44 | <div id="scheduler_here" class="dhx_cal_container" style='width:300px; height:300px; display:none;'>
|
---|
| 45 | <div class="dhx_cal_navline">
|
---|
| 46 | <div class="dhx_cal_date"></div>
|
---|
| 47 | <div class="dhx_cal_tab" name="day_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> |
---|