js/calendar.js

(开头部分) 17KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

/**//*
  ****************************************************
  功    能:时间选择控件
  说    明:
  版    本:1.0

  ***************************************************
  */
  
 <!--
 var bMoveable=true;

 var strFrame;
 document.writeln('<iframe bgcolor="#000000" id=meizzDateLayer  frameborder=0 style="position: absolute;  width: 186; height: 247; z-index: 9998; display: none"></iframe>');
 strFrame='<style>';
 strFrame+='INPUT.button{BORDER-RIGHT: #B3C9E1 1px solid;BORDER-TOP: #B3C9E1 1px solid;BORDER-LEFT: #B3C9E1 1px solid;';
 strFrame+='BORDER-BOTTOM: #ff9900 1px solid;BACKGROUND-COLOR: #EDF2F8;font-family:宋体;}';
 strFrame+='TD{FONT-SIZE: 9pt;font-family:宋体;}';
 strFrame+='</style>';
 strFrame+='<scr'+'ipt>';
 strFrame+='var datelayerx,datelayery;';
 strFrame+='var bDrag;    ';
 strFrame+='function document.onmousemove()    ';
 strFrame+='{if(bDrag && window.event.button==1)';
 strFrame+='    {var DateLayer=parent.document.all.meizzDateLayer.style;';
 strFrame+='        DateLayer.posLeft += window.event.clientX-datelayerx;';
 strFrame+='        DateLayer.posTop += window.event.clientY-datelayery;}}';
 strFrame+='function DragStart()        ';
 strFrame+='{var DateLayer=parent.document.all.meizzDateLayer.style;';
 strFrame+='    datelayerx=window.event.clientX;';
 strFrame+='    datelayery=window.event.clientY;';
 strFrame+='    bDrag=true;}';
 strFrame+='function DragEnd(){        ';
 strFrame+='    bDrag=false;}';
 strFrame+='</scr'+'ipt>';
 strFrame+='<div style="z-index:9999;position: absolute; left:0; top:0;" onselectstart="return false"><span id=tmpSelectYearLayer  style="z-index: 9999;position: absolute;top: 3; left: 19;display: none"></span>';
 strFrame+='<span id=tmpSelectMonthLayer  style="z-index: 9999;position: absolute;top: 3; left: 78;display: none"></span>';
 strFrame+='<table style="FILTER:dropshadow(color=#EDEDF8,offx=3.3,offy=3.3,positive=1);" cellSpacing="0" cellPadding="0" width="100%" border="0"><tr><td>';
 strFrame+='<table border=1 cellspacing=0 cellpadding=0 width=182 height=160 bgColor="#FFFFFF" borderColorLight=#7197CA borderColorDark="#ffffff"  >';
 strFrame+='  <tr ><td width=182 height=23  bgcolor=#FFFFFF><table border=0 cellspacing=1 cellpadding=0 width=180  height=23>';
 strFrame+='      <tr align=center ><td width=16 align=center bgcolor=#B6CAE4 style="font-size:12px;cursor: hand;color: #ffffff" ';
 strFrame+='        onclick="parent.meizzPrevM()" title="向前翻 1 月" ><b >&lt;</b>';
 strFrame+='        </td><td width=60 align=center style="font-size:12px;cursor:hand;"  ';
 strFrame+='onmouseover="style.backgroundColor=\'#D7E1F0\'" onmouseout="style.backgroundColor=\'white\'" ';
 strFrame+='onclick="parent.tmpSelectYearInnerHTML(this.innerText.substring(0,4))" title="点击这里选择年份"><span  id=meizzYearHead></span></td>';
 strFrame+='<td width=48 align=center style="font-size:12px;cursor:hand;"  onmouseover="style.backgroundColor=\'#D7E1F0\'" ';
 strFrame+=' onmouseout="style.backgroundColor=\'white\'" onclick="parent.tmpSelectMonthInnerHTML(this.innerText.length==3?this.innerText.substring(0,1):this.innerText.substring(0,2))"';
 strFrame+='        title="点击这里选择月份"><span id=meizzMonthHead ></span></td>';
 strFrame+='        <td width=16 bgcolor=#B6CAE4 align=center style="font-size:12px;cursor: hand;color: #ffffff" ';
 strFrame+='         onclick="parent.meizzNextM()" title="向后翻 1 月" ><b >&gt;</b></td></tr>';
 strFrame+='    </table></td></tr>';
 strFrame+='  <tr ><td width=180 height=18 >';
 strFrame+='<table border=1 cellspacing=0 cellpadding=0 bgcolor=#618BC5 ' + (bMoveable? 'onmousedown="DragStart()" onmouseup="DragEnd()"':'');
 strFrame+=' BORDERCOLORLIGHT=#3677b1 bgcolor=#5168C8 BORDERCOLORDARK=#FFFFFF width="100%" height=25  style="cursor:' + (bMoveable ? 'move':'default') + '">';
 strFrame+='<tr  valign="middle" align="center"><td style="font-size:12px;color:#FFFFFF" ><b>日</b></td>';
 strFrame+='<td style="font-size:12px;color:#FFFFFF"  ><b>一</b></td><td style="font-size:12px;color:#FFFFFF" ><b>二</b></td>';
 strFrame+='<td style="font-size:12px;color:#FFFFFF" ><b>三</b></td><td style="font-size:12px;color:#FFFFFF" ><b>四</b></td>';
 strFrame+='<td style="font-size:12px;color:#FFFFFF"   ><b>五</b></td><td style="font-size:12px;color:#FFFFFF" ><b>六</b></td></tr>';
 strFrame+='</table></td></tr>';
 strFrame+='  <tr ><td width="100%" height=120 >';
后面还有 278 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。