2in3_calendar.html revision 6772215f9544669a91e64c01db5a673df0c4b1cc
<html debug="true">
<head>
body {
margin:0;
padding:0;
}
</style>
<title>use('yui2-calendar') and then get dependencies</title>
YUI({
yui2: '2.5.2',
combine: true // running locally, so I need to force combo handling
// gallery: 'gallery-2010.02.22-22'
}).use('yui2-calendar', function (Y) {
var YAHOO = Y.YUI2;
YAHOO.example.calendar.init = function() {
YAHOO.example.calendar.cal1 = new YAHOO.widget.CalendarGroup("cal1","cal1Container", {PAGES:3});
}
});
</script>
<body class="yui-skin-sam">
<div id="cal1Container"></div>
</body>
</html>