This commit is contained in:
wlh
2014-08-12 20:13:18 +08:00
parent 3264c05fdb
commit f568b94429
2 changed files with 239 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<script type="text/javascript" src="calendar.js"></script>
<script type="text/javascript">
function showCalendar(){
var c = new Calendar('calendar',new Date());
c.showUI(function(date){
alert(date);
});
}
</script>
</head>
<body onload="showCalendar()">
<div id="calendar" style="width:390px; height:270px;"></div>
</body>
</html>