diff options
author | Maksim <max@dhtmlx.com> | 2011-07-18 18:21:10 +0300 |
---|---|---|
committer | Maksim <max@dhtmlx.com> | 2011-07-18 18:21:10 +0300 |
commit | 5c2afae6cf595c981155ac68501ac2d1af77db54 (patch) | |
tree | b07de6379fb3eb540df732a57061cafd05288599 /samples/scheduler/01_basic_init.html | |
download | connector-php-5c2afae6cf595c981155ac68501ac2d1af77db54.zip connector-php-5c2afae6cf595c981155ac68501ac2d1af77db54.tar.gz connector-php-5c2afae6cf595c981155ac68501ac2d1af77db54.tar.bz2 |
* import of php connector v1.2
Diffstat (limited to 'samples/scheduler/01_basic_init.html')
-rw-r--r-- | samples/scheduler/01_basic_init.html | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/samples/scheduler/01_basic_init.html b/samples/scheduler/01_basic_init.html new file mode 100644 index 0000000..06fc578 --- /dev/null +++ b/samples/scheduler/01_basic_init.html @@ -0,0 +1,52 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<head> + <meta http-equiv="Content-type" content="text/html; charset=utf-8"> + <title></title> +</head> + <script src="../dhtmlx/dhtmlxscheduler.js" type="text/javascript" charset="utf-8"></script> + <link rel="stylesheet" href="../dhtmlx/dhtmlxscheduler.css" type="text/css" title="no title" charset="utf-8"> +<style type="text/css" media="screen"> + html, body{ + margin:0px; + padding:0px; + height:100%; + overflow:hidden; + } +</style> +<script type="text/javascript" charset="utf-8"> + function init() { + scheduler.config.xml_date="%Y-%m-%d %H:%i"; + scheduler.config.prevent_cache = true; + scheduler.config.lightbox.sections=[ + {name:"description", height:130, map_to:"text", type:"textarea" , focus:true}, + {name:"location", height:43, type:"textarea", map_to:"details" }, + {name:"time", height:72, type:"time", map_to:"auto"} + ] + scheduler.config.first_hour=4; + scheduler.locale.labels.section_location="Location"; + scheduler.config.details_on_create=true; + scheduler.config.details_on_dblclick=true; + scheduler.init('scheduler_here',new Date(2009,10,1),"month"); + scheduler.load("01_basic_init_connector.php?uid="+scheduler.uid()); + var dp = new dataProcessor("01_basic_init_connector.php"); + dp.init(scheduler); + } +</script> +<body onload="init();"> + <div id="scheduler_here" class="dhx_cal_container" style='width:100%; height:100%;'> + <div class="dhx_cal_navline"> + <div class="dhx_cal_prev_button"> </div> + <div class="dhx_cal_next_button"> </div> + <div class="dhx_cal_today_button"></div> + <div class="dhx_cal_date"></div> + <div class="dhx_cal_tab" name="day_tab" style="right:204px;"></div> + <div class="dhx_cal_tab" name="week_tab" style="right:140px;"></div> + <div class="dhx_cal_tab" name="month_tab" style="right:76px;"></div> + </div> + <div class="dhx_cal_header"> + </div> + <div class="dhx_cal_data"> + </div> + </div> +</body>
\ No newline at end of file |