Lo fa eccome:
codice:
<html>
<head>
<link rel="stylesheet" type="text/css" media="all" href="skins/aqua/theme.css" title="Aqua" />
<script type="text/javascript" src="calendar.js"></script>
<script type="text/javascript" src="calendar-setup.js"></script>
<script type="text/javascript" src="lang/calendar-en.js"></script>
</head>
<body>
[open calendar...]
<div id="output"></div>
<script type="text/javascript">//<![CDATA[
// the default multiple dates selected,
// first time the calendar is displayed
var MA = [];
function closed(cal) {
// here we'll write the output; this is only for example. You
// will normally fill an input field or something with the dates.
var el = document.getElementById("output");
// reset initial content.
el.innerHTML = "";
// Reset the "MA", in case one triggers the calendar again.
// CAREFUL! You don't want to do "MA = [];". We need to modify
// the value of the current array, instead of creating a new one.
// Calendar.setup is called only once! :-) So be careful.
MA.length = 0;
// walk the calendar's multiple dates selection hash
for (var i in cal.multiple) {
var d = cal.multiple[i];
// sometimes the date is not actually selected,
// so let's check
if (d) {
// OK, selected. Fill an input field or something.
el.innerHTML += d.print("%A, %Y %B %d") + "
";
// and push it in the "MA", in case one triggers the calendar again.
MA[MA.length] = d;
}
}
cal.hide();
return true;
};
Calendar.setup({
align : "BR",
showOthers : true,
multiple : MA, // pass the initial or computed array of multiple dates
onClose : closed,
button : "trigger"
});
//]]></script>
</body>
</html>
Metti questo in un file nella cartella con lo script. Era l'esempio che ti avevo linkato. Manca un po' di make up (ossia ti devi scrivere l'handling function che al secondo click evidenzi tutti i giorni nel mezzo e chiuda il calendario invece di lasciarlo aperto... e sono convinto che se cerchi nel loro forum trovi pure quello).