<HTML>
<head>
<TITLE>Calendar</TITLE>
<STYLE type="text/css">
.TABLEHEAD {
font-size : 9pt;
font-family : Arial;
font-weight : bold;
color : white;
background-color : #66CCFF;
}
.DAYS {
font-size : 9pt;
font-weight : Bold;
font-family : Arial;
font-style : normal;
color : #000000;
background-color : FFFFCC;
}
.BEFORETODAY {
font-size : 9pt;
font-family : Arial;
font-weight : normal;
font-style : normal;
color : #000080;
background-color : #CCEEFF;
line-height: 20px;
}
.WeekEndBefore {
font-size : 9pt;
font-family : Arial;
font-weight : normal;
font-style : normal;
color : red;
background-color : #CCEEFF;
line-height: 20px;
}
.SpecialDayBefore {
font-size : 9pt;
font-family : Arial;
font-weight : normal;
font-style : normal;
color : red;
background-color : #CCEEFF;
line-height: 20px;
}
.WeekEndAfter {
font-size : 9pt;
font-family : Arial;
font-weight : normal;
font-style : normal;
color : red;
background-color : #CCCCFF;
line-height: 20px;
}
.AFTERTODAY {
font-size : 9pt;
font-family : Arial;
font-weight : normal;
font-style : normal;
color : #000080;
background-color : #CCCCFF;
line-height: 20px;
}
.SpecialDayAfter {
font-size : 9pt;
font-family : Arial;
font-weight : normal;
font-style : normal;
color : red;
background-color : #CCCCFF;
line-height: 20px;
}
.TODAY {
font-size : 9pt;
font-family : Arial;
font-weight : bold;
font-style : normal;
color : red;
background-color : #FFCC99;
line-height: 20px;
}
</STYLE>
<SCRIPT LANGUAGE="JScript">
<!--// Hide JS Code
// AUTHOR: Unknown
// MODIFIED BY: Ng Kim Boon
// MODIFIED BY/DATE: Cheng Wei/2001-Feb-17
// COMPANY: NCS Pte. Ltd
var defaultFormat = "yyyy-mm-dd";
//var defaultFormat = "mm/dd/yyyy";
var dateFormat = defaultFormat;
var days = new Array("星期日","星期一","星期二","星期三","星期四","星期五","星期六");
//var specialDay=new Array("1977/5/27","2000/9/11","2004/5/27");
//var months = new Array( "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月" );
//var days = new Array("SUN","MON","TUE","WED","THU","FRI","SAT");
var specialDay=new Array("1977/5/27","2000/9/11","2004/5/27");
var months = new Array( "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" );
var numDays = new Array( 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 );
var today = new Date();
var currMonth;
var beginYear = 1900;
var endYear = 2100;
function init() {
dateFormat = defaultFormat;
var m ;
m = today.getMonth() + 1;
var y;
y = today.getFullYear();
currMonth = new Month( y, m );
var strHtml = showCalendar(currMonth);
MyLabel.outerHTML="<Label ID=MyLabel>" + strHtml + "</Label>";
restorePrevFocus();
document.form1.hidFlag.value="m";
}
function restorePrevFocus(){
var flag=document.form1.hidFlag.value;
switch (flag){
case "m"://month combo
document.form1.m.focus();
break;
case "y"://year combo
document.form1.y.focus();
break;
case "p"://previous month
document.all.p.focus();
break;
case "n"://next month
document.all.n.focus();
break;
default :
document.form1.m.focus();
}
}
function prevMonth(){
var y = document.form1.y.value;
var m = document.form1.m.value;
currMonth = new Month( y,m );
var prevMonth = getRelativeMonth(currMonth , -1 );
prevMonth = new Month( prevMonth.year, prevMonth.month );
strHtml = showCalendar(prevMonth);
MyLabel.outerHTML="<Label ID=MyLabel>" + strHtml + "</Label>";
restorePrevFocus();
document.form1.hidFlag.value="p";
}
function nextMonth(){
var y = document.form1.y.value;
var m = document.form1.m.value;
currMonth = new Month( y,m );
var nextMonth = getRelativeMonth(currMonth , 1 );
nextMonth = new Month( nextMonth.year, nextMonth.month );
strHtml = showCalendar(nextMonth);
MyLabel.outerHTML="<Label ID=MyLabel>" + strHtml + "</Label>";
restorePrevFocus();
document.form1.hidFlag.value="n";
}
function changeMonth(){
var y = document.form1.y.value;
var m = document.form1.m.value;
currMonth = new Month( y,m );
strHtml = showCalendar(currMonth);
MyLabel.outerHTML="<Label ID=MyLabel>" + strHtml + "</Label>";
restorePrevFocus();
document.form1.hidFlag.value="m";
}
function changeYear(){
var y = document.form1.y.value;
var m = document.form1.m.value;
if (document.form1.y.value==document.form1.hidYear.value) return;
currMonth = new Month( y,m );
strHtml = showCalendar(currMonth);
MyLabel.outerHTML="<Label ID=MyLabel>" + strHtml + "</Label>";
restorePrevFocus();
document.form1.hidFlag.value="y";
}
function showCalendar( currMonth ) {
var prevMonth = getRelativeMonth( currMonth, -1 );
var nextMonth = getRelativeMonth( currMonth, 1 );
var strHtml="";
strHtml= strHtml + "<TABLE border=0 cellspacing=1 width=400><TR class=TABLEHEAD align=center>";
strHtml= strHtml + "<TD colspan=2 ><A class=TABLEHEAD id=p tabindex=0 style='cursor:hand;' onFocus='document.form1.hidFlag.value=\"p\";' onKeyPress='prevMonth()' onclick='prevMonth()'" + ">上个月</A></TD>";
// strHtml= strHtml + "<TD colspan=5 class=TABLEHEAD>";
//strHtml= strHtml + "<TD colspan=2 ><A class=TABLEHEAD id=p tabindex=0 style='cursor:hand;' onFocus='document.form1.hidFlag.value=\"p\";' onKeyPress='prevMonth()' onclick='prevMonth()'" + ">Previous Month</A></TD>";
strHtml= strHtml + "<TD colspan=3 class=TABLEHEAD>";
strHtml= strHtml + "<SELECT NAME=m tabindex=1 onFocus='document.form1.hidFlag.value=\"m\";' onChange='javascript:changeMonth()'>" ;
for (var i=1; i<13; i++ )
strHtml= strHtml + "<OPTION value=" + i + ((i==currMonth.month)? " selected" : "")+ ">" + months[i-1] ;
strHtml= strHtml + "</SELECT>" ;
strHtml= strHtml + "<SELECT NAME=y onFocus='document.form1.hidFlag.value=\"y\";' tabindex=2 onChange='javascript:changeYear()'>" ;
for (var tempYear=beginYear; tempYear<endYear; tempYear++ )
strHtml= strHtml + "<OPTION value=" + tempYear + ((tempYear==currMonth.year)? " selected" : "")+ ">" + tempYear ;
strHtml= strHtml + "</SELECT>" ;
strHtml= strHtml + "<INPUT type=hidden name=hidYear value=" + currMonth.year + ">" ;
strHtml= strHtml + "</TD>" ;
strHtml= strHtml + "<TD colspan=2><A tabindex=3 id=n class=TABLEHEAD style='cursor:hand;' onFocus='document.form1.hidFlag.value=\"n\";' onKeyPress='nextMonth()' onclick='nextMonth()'" + ">下个月</a></td>";
//strHtml= strHtml + "<TD colspan=2><A tabindex=3 id=n class=TABLEHEAD style='cursor:hand;' onFocus='document.form1.hidFlag.value=\"n\";' onKeyPress='nextMonth()' onclick='nextMonth()'" + ">Next Month</a></td>";
strHtml= strHtml + "</TR>";
// writes the days of the week
strHtml= strHtml + "<TR align=center bgcolor=#FFFFFF>";
for(var d=0;d<7;d++){
strHtml= strHtml + "<TD width=14% CLASS=DAYS><B> " + days[d] + " </B></TD>";
}
strHtml= strHtml + "</TR>";
var daycounter = 1;
var cls = "";
// allows month to possibly span over 6 weeks
for(var i=0; i<6; i++){
// if we have not exceeded number of days in month
if(daycounter<=currMonth.length) {
strHtml= strHtml +"<TR align=center>"
// display each day of the week
for(var j=0;j<7;j++){
// First choose different style for different period.
// Not yet the first day of the month, or
// it has exceeded the last day in the month.
if( (i==0 && j<currMonth.firstDay) || daycounter>currMonth.length) {
cls = "";
// Current date
} else if(daycounter==today.getDate() && currMonth.month==today.getMonth()+1 && currMonth.year==today.getFullYear()) {
cls = " class=TODAY";
// Future date
} else if((daycounter>today.getDate() && currMonth.month==today.getMonth()+1 && currMonth.year==today.getFullYear()) || (currMonth.month>today.getMonth()+1 && currMo
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
ASP.NET实验室预约管理系统 (116个子文件)
left.aspx 17KB
left3.aspx 9KB
left2.aspx 6KB
edituser.aspx 5KB
xiaohuijilu_list2.aspx 5KB
xiaohuijilu_list.aspx 5KB
jisuanjixinxi_list.aspx 5KB
listuser.aspx 4KB
xiaohuijilu_add.aspx 4KB
top.aspx 3KB
jisuanjixinxi_updt.aspx 3KB
sy.aspx 3KB
shiyanshi_updt.aspx 3KB
mod.aspx 2KB
down.aspx 1007B
main.aspx 936B
databack.aspx 445B
logout.aspx 441B
delid.aspx 439B
mygo.aspx 437B
login.aspx 92B
Web.Config 2KB
Database.cs 8KB
Class1.cs 4KB
Class1.cs 4KB
shebeixinxi_list3.aspx.cs 3KB
xiaohuijilu_add.aspx.cs 3KB
login.aspx.cs 3KB
mod.aspx.cs 2KB
xiaohuijilu_list2.aspx.cs 2KB
shiyanshi_list.aspx.cs 2KB
saveinfo.cs 2KB
jisuanjixinxi_list.aspx.cs 2KB
yuyuejilu_updt.aspx.cs 2KB
jisuanjixinxi_updt.aspx.cs 2KB
shiyanshi_updt.aspx.cs 2KB
VCUtilities.cs 1KB
listuser.aspx.cs 1KB
databack.aspx.cs 1KB
DB.cs 1KB
book.cs 837B
delid.aspx.cs 834B
StrRegExp.cs 756B
logout.aspx.cs 475B
left3.aspx.cs 406B
left2.aspx.cs 406B
down.aspx.cs 405B
left.aspx.cs 405B
top.aspx.cs 404B
sy.aspx.cs 403B
css1.css 7KB
css.css 3KB
CssAdmin.css 3KB
StyleSheet.css 1KB
left_css.css 804B
top_css.css 629B
right_css.css 597B
Thumbs.db 222KB
Thumbs.db 27KB
ActiproSoftware.Shared.Net20.dll 224KB
ActiproSoftware.CodeHighlighter.Net20.dll 224KB
DotNetTextBox.dll 194KB
Socut.Data.dll 140KB
AspNetPager.dll 60KB
CodeHighlighterTest.dll 17KB
login_4.gif 15KB
login_1.gif 15KB
login_2.gif 10KB
login_3.gif 9KB
act_btn.gif 2KB
top_tt_bg.gif 2KB
left_tt.gif 2KB
login_5.gif 1KB
tip.gif 1005B
icon-phone.gif 633B
ts.gif 597B
icon-mail2.gif 592B
on-of.gif 233B
tdbj.gif 233B
closed.gif 207B
copyUpload.gif 203B
Edit.gif 154B
Upload.gif 111B
login_6.gif 102B
+.gif 85B
-.gif 82B
L.gif 69B
CalendarCn.htm 11KB
2012271147519055.jpg 40KB
2011123102549033.jpg 34KB
20111231024593723.jpg 34KB
2012271148435431.jpg 30KB
top_bg.jpg 20KB
20111231019129194.jpg 17KB
tableline.jpg 14KB
tableline_top.jpg 14KB
tableline_bottom.jpg 14KB
top_logo.jpg 12KB
tablemde.jpg 10KB
top.jpg 9KB
共 116 条
- 1
- 2
资源评论
bysj513
- 粉丝: 2
- 资源: 16
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- PHP端通过modbus协议跟第三方设备进行数据通信
- navicat安装包亲测可用
- 算法部署-使用OpenVINO部署MobileStyleGAN轻量化高保真图像合成算法-项目源码-优质项目实战.zip
- 基于java实现远程采集华为逆变器使用modbus tcp协议进行通讯的设备数据
- Unity画面共享Spout插件
- 基于C++用modbus实现的工业设备的数据采集程序,支持Tcp、串口
- 完结12章AI Agent智能应用从0到1定制开发
- 15白落梅:你是锦瑟我为流年:三毛的万水千山-3491776.mobi
- Federated Learning-Aided Prognostics in the Shipping 4.0: Princi
- OFDM 的鲁棒频率和定时同步文献部分阅读笔记
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功