34 lines
1010 B
HTML
34 lines
1010 B
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<html><head><title>Calendar Component</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
<meta name="description" content="This is the calendar component of the Dock.">
|
|
<link rel="stylesheet" type="text/css" media="all" href="jsDatePick_ltr.min.css" />
|
|
<script type="text/javascript" src="jsDatePick.min.1.3.js"></script>
|
|
<script type="text/javascript">
|
|
window.onload = function(){
|
|
g_globalObject = new JsDatePick({
|
|
useMode:1,
|
|
isStripped:true,
|
|
target:"calendar"
|
|
/*selectedDate:{
|
|
day:5,
|
|
month:9,
|
|
year:2006
|
|
},
|
|
yearsRange:[1900,2100],
|
|
limitToToday:false,
|
|
cellColorScheme:"beige",
|
|
dateFormat:"%m-%d-%Y",
|
|
imgPath:"img/",
|
|
weekStartDay:1*/
|
|
});
|
|
g_globalObject.setOnSelectedDelegate(function(){
|
|
var obj = g_globalObject.getSelectedDay();
|
|
});
|
|
};
|
|
</script>
|
|
</head>
|
|
<body style="background-color: #FFFFFF">
|
|
<div id="calendar" style="width:205px; height:230px;"></div>
|
|
</div>
|
|
</body></html> |