文档详情

时间控件.doc

发布:2018-06-19约1.89万字共10页下载文档
文本预览下载声明
时间控件 Js代码: !-- 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=144px height=193px/iframe/div); function writeIframe() { var strIframe = htmlheadmeta http-equiv=Content-Type content=text/html; charset=gb2312style+ *{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/headbody onselectstart=return false style=margin: 0px oncontextmenu=return falseform 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;+ o.style.left = parseInt(o.style.left) + window.event.clientX-cx;+ o.style.top = parseInt(o.style.top) + window.event.clientY-cy;}}+ function document.onkeydown(){ switch(window.event.keyCode){ case 27 : parent.hid
显示全部
相似文档