a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich<!doctype html>
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich<html>
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich<head>
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich <title>Calendar Example</title>
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich <script type="text/javascript" src="/build/yui/yui.js"></script>
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich<style>
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich.yui3-skin-sam .redtext {
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich color:#ff0000;
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich}
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich</style>
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich</head>
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich<body class="yui3-skin-sam">
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich<div id="firstcalendar"></div>
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich<div id="secondcalendar"></div>
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich<div id="currentDate"></div>
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich<script>
a9a4fee30864f00049b02201b1af50ada7f769e3Allen RabinovichYUI({
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovichbase: '/build/',
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich filter: "raw"
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich}).use('calendar', function(Y) {
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich var calendarone = new Y.Calendar({
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich showNextMonth: true,
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich showPrevMonth: true,
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich selectionMode: "multiple",
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich date: new Date(2011,10,1),
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich width:'300px'});
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich calendarone.render("#firstcalendar");
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich var calendartwo = new Y.Calendar({
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich showNextMonth: true,
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich showPrevMonth: true,
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich selectionMode: "multiple",
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich date: new Date(2015,10,1),
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich width:'300px'});
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich calendartwo.render("#secondcalendar");
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich});
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich</script>
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich</body>
a9a4fee30864f00049b02201b1af50ada7f769e3Allen Rabinovich</html>