📄 calendar.js
字号:
var ocaptionstyle = "";
var ocaptionweight = "";
var oclosesizeunit = "px";
var oclosedecoration = "";
var oclosestyle = "";
var ocloseweight = "";
var ox = 0;
var oy = 0;
var oallow = 0;
var oshowingsticky = 0;
var oremovecounter = 0;
var over = null;
var ns4 = (document.layers) ? true : false;
var ns6 = (document.getElementById) ? true : false;
var ie4 = (document.all) ? true : false;
var ie5 = false;
if (ie4) {
if ((navigator.userAgent.indexOf("MSIE 5") > 0) || (navigator.userAgent.indexOf("MSIE 6") > 0)) {
ie5 = true;
}
if (ns6) {
ns6 = false;
}
}
if ((ns4) || (ie4) || (ns6)) {
document.onmousemove = mouseMove;
if (ns4) {
document.captureEvents(Event.MOUSEMOVE);
}
} else {
overlib = no_overlib;
nd = no_overlib;
ver3fix = true;
}
function no_overlib() {
return ver3fix;
}
function overlib() {
otext = ol_text;
ocap = ol_cap;
osticky = ol_sticky;
obackground = ol_background;
oclose = ol_close;
ohpos = ol_hpos;
ooffsetx = ol_offsetx;
ooffsety = ol_offsety;
ofgcolor = ol_fgcolor;
obgcolor = ol_bgcolor;
otextcolor = ol_textcolor;
ocapcolor = ol_capcolor;
oclosecolor = ol_closecolor;
owidth = ol_width;
oborder = ol_border;
ostatus = ol_status;
oautostatus = ol_autostatus;
oheight = ol_height;
osnapx = ol_snapx;
osnapy = ol_snapy;
ofixx = ol_fixx;
ofixy = ol_fixy;
ofgbackground = ol_fgbackground;
obgbackground = ol_bgbackground;
opadxl = ol_padxl;
opadxr = ol_padxr;
opadyt = ol_padyt;
opadyb = ol_padyb;
ofullhtml = ol_fullhtml;
ovpos = ol_vpos;
oaboveheight = ol_aboveheight;
ocapicon = ol_capicon;
otextfont = ol_textfont;
ocaptionfont = ol_captionfont;
oclosefont = ol_closefont;
otextsize = ol_textsize;
ocaptionsize = ol_captionsize;
oclosesize = ol_closesize;
otimeout = ol_timeout;
ofunction = ol_function;
odelay = ol_delay;
ohauto = ol_hauto;
ovauto = ol_vauto;
ocloseclick = ol_closeclick;
ocss = ol_css;
ofgclass = ol_fgclass;
obgclass = ol_bgclass;
otextfontclass = ol_textfontclass;
ocaptionfontclass = ol_captionfontclass;
oclosefontclass = ol_closefontclass;
opadunit = ol_padunit;
oheightunit = ol_heightunit;
owidthunit = ol_widthunit;
otextsizeunit = ol_textsizeunit;
otextdecoration = ol_textdecoration;
otextstyle = ol_textstyle;
otextweight = ol_textweight;
ocaptionsizeunit = ol_captionsizeunit;
ocaptiondecoration = ol_captiondecoration;
ocaptionstyle = ol_captionstyle;
ocaptionweight = ol_captionweight;
oclosesizeunit = ol_closesizeunit;
oclosedecoration = ol_closedecoration;
oclosestyle = ol_closestyle;
ocloseweight = ol_closeweight;
if ((ns4) || (ie4) || (ns6)) {
oframe = ol_frame;
if (ns4) {
over = oframe.document.overDiv;
}
if (ie4) {
over = oframe.overDiv.style;
}
if (ns6) {
over = oframe.document.getElementById("overDiv");
}
}
var c = -1;
var ar = arguments;
for (i = 0; i < ar.length; i++) {
if (c < 0) {
if (ar[i] == 1) {
otext = ol_texts[ar[++i]];
} else {
otext = ar[i];
}
c = 0;
} else {
if (ar[i] == 1) {
otext = ol_texts[ar[++i]];
continue;
}
if (ar[i] == 2) {
ocap = ol_caps[ar[++i]];
continue;
}
if (ar[i] == 3) {
osticky = 1;
continue;
}
if (ar[i] == 4) {
obackground = ar[++i];
continue;
}
if (ar[i] == NOCLOSE) {
oclose = "";
continue;
}
if (ar[i] == 6) {
ocap = ar[++i];
continue;
}
if (ar[i] == 9 || ar[i] == 7 || ar[i] == 8) {
ohpos = ar[i];
continue;
}
if (ar[i] == 10) {
ooffsetx = ar[++i];
continue;
}
if (ar[i] == 11) {
ooffsety = ar[++i];
continue;
}
if (ar[i] == 12) {
ofgcolor = ar[++i];
continue;
}
if (ar[i] == 13) {
obgcolor = ar[++i];
continue;
}
if (ar[i] == 14) {
otextcolor = ar[++i];
continue;
}
if (ar[i] == 15) {
ocapcolor = ar[++i];
continue;
}
if (ar[i] == 16) {
oclosecolor = ar[++i];
continue;
}
if (ar[i] == 17) {
owidth = ar[++i];
continue;
}
if (ar[i] == 18) {
oborder = ar[++i];
continue;
}
if (ar[i] == 19) {
ostatus = ar[++i];
continue;
}
if (ar[i] == 20) {
oautostatus = 1;
continue;
}
if (ar[i] == 21) {
oautostatus = 2;
continue;
}
if (ar[i] == 22) {
oheight = ar[++i];
oaboveheight = ar[i];
continue;
}// Same param again.
if (ar[i] == 23) {
oclose = ar[++i];
continue;
}
if (ar[i] == 24) {
osnapx = ar[++i];
continue;
}
if (ar[i] == 25) {
osnapy = ar[++i];
continue;
}
if (ar[i] == 26) {
ofixx = ar[++i];
continue;
}
if (ar[i] == 27) {
ofixy = ar[++i];
continue;
}
if (ar[i] == 28) {
ofgbackground = ar[++i];
continue;
}
if (ar[i] == 29) {
obgbackground = ar[++i];
continue;
}
if (ar[i] == 30) {
opadxl = ar[++i];
opadxr = ar[++i];
continue;
}
if (ar[i] == 31) {
opadyt = ar[++i];
opadyb = ar[++i];
continue;
}
if (ar[i] == 34) {
ofullhtml = 1;
continue;
}
if (ar[i] == 36 || ar[i] == 35) {
ovpos = ar[i];
continue;
}
if (ar[i] == 37) {
ocapicon = ar[++i];
continue;
}
if (ar[i] == 38) {
otextfont = ar[++i];
continue;
}
if (ar[i] == 39) {
ocaptionfont = ar[++i];
continue;
}
if (ar[i] == 40) {
oclosefont = ar[++i];
continue;
}
if (ar[i] == 41) {
otextsize = ar[++i];
continue;
}
if (ar[i] == 42) {
ocaptionsize = ar[++i];
continue;
}
if (ar[i] == 43) {
oclosesize = ar[++i];
continue;
}
if (ar[i] == 44) {
opt_FRAME(ar[++i]);
continue;
}
if (ar[i] == 45) {
otimeout = ar[++i];
continue;
}
if (ar[i] == 46) {
opt_FUNCTION(ar[++i]);
continue;
}
if (ar[i] == 47) {
odelay = ar[++i];
continue;
}
if (ar[i] == 48) {
ohauto = (ohauto == 0) ? 1 : 0;
continue;
}
if (ar[i] == 49) {
ovauto = (ovauto == 0) ? 1 : 0;
continue;
}
if (ar[i] == 50) {
ocloseclick = (ocloseclick == 0) ? 1 : 0;
continue;
}
if (ar[i] == 51) {
ocss = ar[i];
continue;
}
if (ar[i] == 52) {
ocss = ar[i];
continue;
}
if (ar[i] == 53) {
ocss = ar[i];
continue;
}
if (ar[i] == 54) {
ofgclass = ar[++i];
continue;
}
if (ar[i] == 55) {
obgclass = ar[++i];
continue;
}
if (ar[i] == 56) {
otextfontclass = ar[++i];
continue;
}
if (ar[i] == 57) {
ocaptionfontclass = ar[++i];
continue;
}
if (ar[i] == 58) {
oclosefontclass = ar[++i];
continue;
}
if (ar[i] == 59) {
opadunit = ar[++i];
continue;
}
if (ar[i] == 60) {
oheightunit = ar[++i];
continue;
}
if (ar[i] == 61) {
owidthunit = ar[++i];
continue;
}
if (ar[i] == 62) {
otextsizeunit = ar[++i];
continue;
}
if (ar[i] == 63) {
otextdecoration = ar[++i];
continue;
}
if (ar[i] == 64) {
otextstyle = ar[++i];
continue;
}
if (ar[i] == 65) {
otextweight = ar[++i];
continue;
}
if (ar[i] == 66) {
ocaptionsizeunit = ar[++i];
continue;
}
if (ar[i] == 67) {
ocaptiondecoration = ar[++i];
continue;
}
if (ar[i] == 68) {
ocaptionstyle = ar[++i];
continue;
}
if (ar[i] == 69) {
ocaptionweight = ar[++i];
continue;
}
if (ar[i] == 70) {
oclosesizeunit = ar[++i];
continue;
}
if (ar[i] == 71) {
oclosedecoration = ar[++i];
continue;
}
if (ar[i] == 72) {
oclosestyle = ar[++i];
continue;
}
if (ar[i] == 73) {
ocloseweight = ar[++i];
continue;
}
}
}
if (odelay == 0) {
return overlib350();
} else {
odelayid = setTimeout("overlib350()", odelay);
if (osticky) {
return false;
} else {
return true;
}
}
}
function nd() {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -