?? normal.js
字號:
var gsSplit="/";
var giDatePos=2;
var gbPadZero=true;
var giMonthMode=0;
var gbShortYear=false;
var gbAutoPos=true;
var gbPopDown=true;
var gbAutoClose=true;
var gPosOffset=[0,0];
var gbFixedPos=false;
var gMonths=["Jan","Fen","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];
var gWeekDay=["Sun","Mon","Tues","Wed","Thu","Fri","Sat"];
var gBegin=[1970,1,1];
var gEnd=[2030,12,31];
var gsOutOfRange="out of date range";
var guOutOfRange=null;
var gbEuroCal=true;
var gcCalBG="#6699cc";
var guCalBG=null;
var gcCalFrame="#778899";
var gsInnerTable="border=0 cellpadding=2 cellspacing=1";
var gsOuterTable=NN4?"border=1 cellpadding=3 cellspacing=0":"border=0 cellpadding=1 cellspacing=2";
var gbHideTop=false;
var giDCStyle=0;
var gsCalTitle="gMonths[gCurMonth[1]-1]+' '+gCurMonth[0]";
var gbDCSeq=true;
var gsYearInBox="i";
var gsNavPrev="<INPUT type='button' value='<' class='MonthNav' onclick='fPrevMonth();this.blur();'>";
var gsNavNext="<INPUT type='button' value='>' class='MonthNav' onclick='fNextMonth();this.blur();'>";
var gbHideBottom=false;
var gsBottom="<table border='0' cellspacing='0' cellpadding='0' align='center'><tr><td><input class='Today' type='button' value='Clear' onclick='gdCtrl.value=\"\";if(this.blur)this.blur();return false;'></td><td width=60 align=center><input class='Today' type='button' value='Today' onclick='if(this.blur)this.blur();if(!fSetDate(gToday[0],gToday[1],gToday[2]))alert(\"Today is not a selectable date!\");return false;'></td><td><input class='Today' type='button' value='Close' onclick='fHideCal();return false;'></td></tr></table>";
var giCellWidth=18;
var giCellHeight=14;
var giHeadHeight=14;
var giWeekWidth=22;
var giHeadTop=1;
var giWeekTop=0;
var gcCellBG="#e5e5e5"; // default background color of the cells. Use "" for transparent!!!
var gsCellHTML=""; // default HTML contents for days without any agenda, usually an image tag.
var guCellBGImg=""; // url of default background image for each calendar cell.
var gsAction=" "; // default action to be eval()'ed on everyday except the days with agendas, which have their own actions defined in agendas.
var gsDays="dayNo"; // the dynamic statement to be eval()'ed into each day cell.
var giWeekCol=-1; // -1: disable week-number-column; 0~7: show week numbers at the designated column.
var gsWeekHead="#"; // the text shown in the table head of week-number-column.
var gsWeeks="weekNo"; // the dynamic statement to be eval()'ed into the week-number-column. e.g. "'week '+weekNo" will show "week 1", "week 2" ...
var gcWorkday="black"; // Workday font color
var gcSat="black"; // Saturday font color
var gcSatBG="#99ccff"; // Saturday background color
var gcSun="black"; // Sunday font color
var gcSunBG="#99ccff"; // Sunday background color
var gcOtherDay="silver"; // the font color of days in other months; It's of no use when giShowOther is set to hide.
var gcOtherDayBG=gcCellBG; // the background color of days in other months. when giShowOther set to hiding, it'll substitute the gcOtherDay.
var giShowOther=2; // control the look of days in OTHER months. 1: show date & agendas effects; 2: show selected & today effects; 4: hide days in previous month; 8: hide days in next month; 16: when set with 4 and/or 8, the days will be visible but not selectable. NOTE: values can be added up to create mixed effects.
var gbFocus=true; // whether to enable the gcToggle highlight whenever mouse pointer focuses over a calendar cell.
var gcToggle="yellow"; // the highlight color for the focused cell
var gcFGToday="red"; // the font color for today
var gcBGToday="white"; // the background color for today
var guTodayBGImg=""; // url of image as today's background
var giMarkToday=1; // Effects for today - 0: nothing; 1: set background color with gcBGToday; 2: draw a box with gcBGToday; 4: bold the font; 8: set font color with gcFGToday; 16: set background image with guTodayBGImg; - they can be added up to create mixed effects.
var gcFGSelected="white"; // the font color for the selected date
var gcBGSelected="#DB5141"; // the background color for the selected date
var guSelectedBGImg=""; // url of image as background of the selected date
var giMarkSelected=2; // Effects for selected date - 0: nothing; 1: set background color with gcBGSelected; 2: draw a box with gcBGSelected; 4: bold the font; 8: set font color with gcFGSelected; 16: set background image with guSelectedBGImg; - they can be added up to create mixed effects.
var gbBoldAgenda=true; // whether to boldface the dates with agendas.
var gbInvertBold=false; // true: invert the boldface effect set by gbBoldAgenda; false: no inverts.
var gbShrink2fit=true; // whether to hide the week line if none of its day belongs to the current month.
var gdSelect=gToday; // default selected date in format of [year, month, day]; [0,0,0] means no default date selected.
var giFreeDiv=0; // The number of absolutely positioned layers you want to customize, they will be named as "freeDiv0", "freeDiv1"...
var gAgendaMask=[-1,-1,-1,null,null,-1,null]; // Set the relevant bit to -1 to keep the original agenda info of that bit unchanged, otherwise the new value will substitute the one defined in agenda.js.
var giResizeDelay=KO3?150:50; // delay in milliseconds before resizing the calendar panel. Calendar may have incorrect initial size if this value is too small.
var gbFlatBorder=false; // flat the .CalCell css border of any agenda date by setting it to solid style. NOTE: it should always be set to false if .CalCell has no explicit border size.
var gbInvertBorder=false; // true: invert the effect caused by gbFlatBorder; false: no change.
var gbShareAgenda=false; // if set to true, a global agenda store will be created and used to share across calendars. Check tutorials for details.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -