admin 管理员组

文章数量: 887021


2024年2月24日发(作者:presson)

arPad=endarpad;}endarBoard=function(){var BOARD=this;vardivBoard=Element_x("div");AdjacentElement("beforeEnd",divBoard);t="position:absolute;top:0;left:0;width:250;height:187;border:0outset;background-color:buttonface;";vartbBoard=Element_x("table");AdjacentElement("beforeEnd",tbBoard);t="position:absolute;top:2;left:2;width:248;height:10;font-size:9pt;";dding=0;acing=1;trRow =Row(0);arAbout=TbCell(trRow,0,"-","center");="帮助 快捷键:H";arAbout.οnclick=function(){();}tbCell=Cell(1);n=5;r="#99CCFF";="center";t ="cursor:default";=tbCell;tbCell=Cell(2);arClose =TbCell(trRow,2,"x","center");="关闭 快捷键:ESC或X";arClose.οnclick=function(){();}trRow =Row(1);

urs.οnmοusedοwn=function(){tDate[3]++;if(tDate[3]==24)tDate[3]=0;ext=Time(tDate[3])+":"+Time(tDate[4]);}tbCell=Cell(2);n=3;r="#99CCFF";="center";t ="cursor:default";=tbCell;tbCell=Cell(3);nutes =TbCell(trRow,3,"-","center");="分钟调整 快捷键:PageUp";nutes.οnmοusedοwn=function(){tDate[4]--;if(tDate[4]==-1)tDate[4]=59;ext=Time(tDate[3])+":"+Time(tDate[4]);}tbCell=Cell(4);nutes =TbCell(trRow,4,"+","center");="分钟调整 快捷键:PageDown";nutes.οnmοusedοwn=function(){tDate[4]++;if(tDate[4]==60)tDate[4]=0;ext=Time(tDate[3])+":"+Time(tDate[4]);}

}TbCell=function(trRow,cellIndex,TXT,trAlign,tbColSpan){vartbCell=Cell(cellIndex);if(tbColSpan!=undefined)n=tbColSpan;varbtnCell=Element_x("button");AdjacentElement("beforeEnd",btnCell);=TXT;t="width:100%;border:1outset;background-color:buttonface;";btnCell.οnmοuseοver=function(){t="width:100%;border:1outset;background-color:#F0F0F0;";}btnCell.οnmοuseοut=function(){t="width:100%;border:1outset;background-color:buttonface;";}// btnCell.οnmοusedοwn=function(){// t="width:100%;border:1inset;background-color:#F0F0F0;";// }btnCell.οnmοuseup=function(){t="width:100%;border:1outset;background-color:#F0F0F0;";}btnCell.οnclick=function(){();}return btnCell;}aultDate=function(){

}}//varoffsetPos=olutePos();//计算对象的位置;if((Height-(offsetPos.y+Top))varcalTop=eight;}else{varcalTop=offsetPos.y+Height;}if((Width-(offsetPos.x+Left))>idth){varcalLeft=offsetPos.x;}else{varcalLeft=Left+Width;}//alert(offsetPos.x);eft=calLeft;op=calTop;}olutePos = function(el) {var r = { x: Left, y:Top };if (Parent) {var tmp =olutePos(Parent);r.x +=tmp.x;

r.y +=tmp.y;}return r;};/BodyCell=function(theRow,j,day,targetObject){vartheCell=Cell(j);if(j==0) vartheBgColor="#FF9999";else vartheBgColor="#FFFFFF";if(day==tDate[2]) var theBgColor="#CCCCCC";if(day==[2]) vartheBgColor="#99FFCC";r=theBgColor;ext=day;="center";=35;t="border:1 solid #CCCCCC;cursor:hand;";theCell.οnmοuseοver=function(){r="#FFFFCC";t="border:1 outset;cursor:hand;";}theCell.οnmοuseοut=function(){r=theBgColor;t="border:1 solid #CCCCCC;cursor:hand;";}theCell.οnmοusedοwn=function(){r="#FFFFCC";t="border:1 inset;cursor:hand;";}theCell.οnclick=function(){

if(Time) e=tDate[0]+"-"+Time(tDate[1])+"-"+Time(day)+""+Time(tDate[3])+":"+Time(tDate[4])e=tDate[0]+"-"+Time(tDate[1])+"-"+Time(day);=e;();}}stDay=function(theYear,theMonth){var firstDate = newDate(theYear,theMonth-1,1);();}thLen=function(theYear, theMonth){theMonth--;var oneDay = 1000 * 60 * 60 *24;var thisMonth = newDate(theYear, theMonth, 1);var nextMonth = newDate(theYear, theMonth + 1, 1);var len =((e() -e())/oneDay);return len;}=function(){//ventKey();y="none";}

break; //ESCcase 37 :edown(); break;//←case 38 :edown();break; //↑case 39 :edown(); break;//→case 40 :edown(); break;//↓case 84 :k(); break;//Tcase 88 : ();break; //Xcase 72 : ();break; //H case 36 :edown(); break;//Homecase 35 :edown(); break;//Endcase 33 :edown();break; //PageUpcase 34 :edown(); break;//PageDown}e = 0;Value=false;}();}var CalendarWebControl = new atCalendarControl();


本文标签: 快捷键 计算 对象 位置