Step 1: Save the following content as Calendar. js (replace "with" <> ")
Document. write ("div id = meizzCalendarLayer style = 'position: absolute; z-index: 9999; width: 144; height: 193; display: none'");
Document. write ("iframe name = meizzCalendarIframe scrolling = no frameborder = 0 width = 100% height = 100%"/iframe "/div");
Function writeIframe ()
{
Var strIframe = "html, head, meta http-equiv = 'content-type' Content = 'text/html; charset = gb2312 ', style" +
"* {Font-size: 12px; font-family: }" +
". Bg {color:" + WebCalendar. lightColor + "; cursor: default; background-color:" + WebCalendar. darkColor + ";}" +
"Table # tableMain {width: 142; height: 180;}" +
"Table # tableWeek td {color:" + WebCalendar. lightColor + ";}" +
"Table # tableDay td {font-weight: bold;}" +
"Td # meizzYearHead, td # meizzYearMonth {color:" + WebCalendar. wordColor + "}" +
". Out {text-align: center; border-top: 1px solid" + WebCalendar. DarkBorder + "; border-left: 1px solid" + WebCalendar. DarkBorder + ";" +
"Border-right: 1px solid" + WebCalendar. lightColor + "; border-bottom: 1px solid" + WebCalendar. lightColor + ";}" +
". Over {text-align: center; border-top: 1px solid # FFFFFF; border-left: 1px solid # FFFFFF;" +
"Border-bottom: 1px solid" + WebCalendar. DarkBorder + "; border-right: 1px solid" + WebCalendar. DarkBorder + "}" +
"Input {border: 1px solid" + WebCalendar. darkColor + "; padding-top: 1px; height: 18; cursor: hand;" +
"Color:" + WebCalendar. wordColor + "; background-color:" + WebCalendar. btnBgColor + "}" +
"/Style,/head, body onselectstart = 'Return false' style = 'margin: 0px 'oncontextmenu = 'Return false', form name = meizz";
If (WebCalendar. drag) {strIframe + = "scr" + "ipt language = javascript" +
"Var drag = false, cx = 0, cy = 0, o = parent. WebCalendar. calendar; function document. onmousemove () {" +
"If (parent. webCalendar. drag & drag) {if (o. style. left = '') o. style. left = 0; if (o. style. top = '') o. style. top = 0; "+