//用JavaScript在web下弹出日历选择框
var popCalDstFld;
var popCalWin;
function popupCal()
{
var tmpDate = new Date();
var tmpString = "";
var tmpNum = 0;
var popCalDateVal;
//Initialize the window to an empty object.
popCalWin = new Object();
//Check for the right number of arguments
if (arguments.length < 2){
alert("popupCal(): Wrong number of arguments.");
return void(0);
}
//Get the command line arguments -- label is optional
var dstWindowName = popupCal.arguments[0];
popCalDstFld = popupCal.arguments[1];
if(arguments.length > 2)
var fieldLabel = popupCal.arguments[2];
else
var fieldLabel = "请点击要指定的日期:";
tmpString = new String(popCalDstFld.value).replace(/[\.-]/g,"/");
//If tmpString is empty (meaning that the field is empty) use todays date as the starting point
if(tmpString == ""){
popCalDateVal = new Date()
}
else{
//Make sure the century is included, if it isn't, add this century to the value that was
//in the field
tmpNum = tmpString.indexOf( "/" );
if ( tmpNum <= 2 && tmpNum>0){
tmpString = parseInt(tmpDate.getFullYear()/100)+ ((tmpNum=1)?"0":"") +tmpString.substr(0,tmpNum) + tmpString.substring(tmpNum);
popCalDateVal = new Date(tmpString);
} else {
//If we got to this point, it means the field that was passed in had a 4 digit number after
//the last slash. Try to convert it to a date
popCalDateVal = new Date(tmpString.toString());
};
popCalDateVal = new Date(tmpString.toString()); //add by lh
};
//Make sure the date is a valid date. Set it to today if it is invalid
if( isNaN(popCalDateVal) ){
popCalDateVal = new Date();}
//Set the base date to midnight of the first day of the specified month, this makes things easier?
//Call the routine to draw the initial calendar
var dateString = String(popCalDateVal.getFullYear()) + "/" + String(popCalDateVal.getMonth()+1) + "/" + String(popCalDateVal.getDate());
reloadCalPopup(dateString, dstWindowName, fieldLabel);
return void(0);
}
function closeCalPopup(){
//Can't tell the child window to close itself, the parent window has to tell it to close.
popCalWin.close();
return void(0);
}
function reloadCalPopup(){
//Set the window's features here
var windowFeatures = "height=300,width=235,resizable=no";
var tmpDate = new Date( reloadCalPopup.arguments[0] );
if ( isNaN(tmpDate) ) tmpDate = new Date();
tmpDate.setDate(1);
//Get the calendar data
var popCalData = calPopupSetData(tmpDate, reloadCalPopup.arguments[2],reloadCalPopup.arguments[1]);
//Check to see if the window has been initialized, create it if it hasn't been
if( popCalWin.toString() == "[object Object]" ){
popCalWin = window.open("",reloadCalPopup.arguments[1],windowFeatures);
} else {
//Remember the existing window's position
var xPos = popCalWin.screenX;
var yPos = popCalWin.screenY;
popCalWin.document.open();
}
popCalWin.document.write(popCalData);
popCalWin.document.close();
return void(0);
}
function calPopupSetData(firstDay,fieldLabel,dstWindowName){
var popCalData = "";
var lastDate = 0;
var fnt = new Array( "<FONT SIZE=\"1\">", "<FONT SIZE=\"1\">", "<FONT SIZE=\"1\" COLOR=\"#CC2222\">", "<FONT SIZE=\"2\" COLOR=\"#FF00FF\">");
var dtToday = new Date();
var thisMonth = firstDay.getMonth();
var thisYear = firstDay.getFullYear();
var nPrevMonth = (thisMonth == 0 ) ? 11 : (thisMonth - 1);
var nNextMonth = (thisMonth == 11 ) ? 0 : (thisMonth + 1);
var nPrevMonthYear = (nPrevMonth == 11) ? (thisYear - 1): thisYear;
var nNextMonthYear = (nNextMonth == 0) ? (thisYear + 1): thisYear;
var sToday = String(dtToday.getFullYear() +"/" + (dtToday.getMonth()+1) + "/01");
var sPrevMonth = String(nPrevMonthYear +"/" + (nPrevMonth+1) + "/01");
var sNextMonth = String(nNextMonthYear +"/" + (nNextMonth+1) + "/01");
var sPrevYear1 = String((thisYear - 1) +"/" + (thisMonth+1) + "/01");
var sNextYear1 = String((thisYear + 1) +"/" + (thisMonth+1) + "/01");
var sPrevYear2 = String((thisYear - 2) +"/" + (thisMonth+1) + "/01");
var sNextYear2 = String((thisYear + 2) +"/" + (thisMonth+1) + "/01");
var tmpDate = new Date( sNextMonth );
tmpDate = new Date( tmpDate.valueOf() - 1001 );
lastDate = tmpDate.getDate();
var monthNames = new Array("一月","二月","三月","四月","五月","六月","七月","八月",
"九月","十月","十一月","十二月");
var styles = "<style><!-- body{font-family:Arial,Helvetica,sans-serif;font-size:9pt}; td { font-family: Arial, Helvetica, sans-serif; font-size: 9pt; color: #666666}; A { text-decoration: none; };TD.day { border-bottom: solid black; border-width: 1px; }--></style>"
var cellAttribs = "align=\"center\" class=\"day\" BGCOLOR=white onMouseOver=\"temp=this.style.backgroundColor;this.style.backgroundColor='#cccccc';\" onMouseOut=\"this.style.backgroundColor=temp;\""
var cellAttribs2 = "align=\"center\" BGCOLOR=white onMouseOver=\"temp=this.style.backgroundColor;this.style.backgroundColor='#cccccc';\" onMouseOut=\"this.style.backgroundColor=temp;\""
var htmlHead = "<HTML><TITLE>" +fieldLabel+ "</TITLE><HEAD>" + styles + "</HEAD><BODY BGCOLOR=\"#FFFFFF\" TEXT=\"#000000\" onload=\"self.focus();\">";
var htmlTail = "</BODY></HTML>";
var closeAnchor = "<A HREF=\"javascript:window.opener.closeCalPopup()\">关闭</A>";
var todayAnchor = "<A HREF=\"javascript:window.opener.reloadCalPopup('"+sToday+"','"+dstWindowName+"','"+fieldLabel+"');\">今日</A>";
var prevMonthAnchor = "<A HREF=\"javascript:window.opener.reloadCalPopup('"+sPrevMonth+"','"+dstWindowName+"','"+fieldLabel+"');\">" + monthNames[nPrevMonth] + "</A>";
var nextMonthAnchor = "<A HREF=\"javascript:window.opener.reloadCalPopup('"+sNextMonth+"','"+dstWindowName+"','"+fieldLabel+"');\">" + monthNames[nNextMonth] + "</A>";
var prevYear1Anchor = "<A HREF=\"javascript:window.opener.reloadCalPopup('"+sPrevYear1+"','"+dstWindowName+"','" + fieldLabel + "');\">";
var nextYear1Anchor = "<A HREF=\"javascript:window.opener.reloadCalPopup('"+sNextYear1+"','"+dstWindowName+"','" + fieldLabel + "');\">";
var prevYear2Anchor = "<A HREF=\"javascript:window.opener.reloadCalPopup('"+sPrevYear2+"','"+dstWindowName+"','" + fieldLabel + "');\"><<<</A>";
var nextYear2Anchor = "<A HREF
没有合适的资源?快使用搜索试试~ 我知道了~
智元软件公文传输管理系统 V4.0.1
共225个文件
asp:118个
gif:79个
jpg:12个
需积分: 16 17 下载量 186 浏览量
2007-10-21
17:39:49
上传
评论
收藏 783KB RAR 举报
温馨提示
智元软件公文传输系统完成公文、会议通知和资料下发、公文上报,平级单位间公文交换等功能。适用于党政机关、行政职能部门、企事业单位及大专院校的公文传输管理系统,有效解决办公难题。<br><br> 智元软件公文传输系统实现无密级公文的网络传输、公文的签收,公文上报,实现网上会议签到,下载会议文件,通报发布等功能。整个系统技术成熟,安装配置简单,使用方便,系统稳定可靠,功能完善且灵活。从正常运行使用以来得到广大用户的支持和好评,以系统使用和维护简单,系统稳定为用户称道。<br><br> 各机关单位每天有大量的文件需要处理,一份文件有时候要印刷几十份,甚至上百份。大量文件的转发、传阅、发送、签收、审核让办公室里文件堆积如山,杂乱如麻,让办公室的工作效率及其低下,对办公室应发挥的重要职能也有影响。希望您借助智元软件公文传输管理系统来帮助您,让您从文件堆中解脱出来,提高文件的传输效率,同时也减少大量纸张的浪费,缩短公文分发、上报的时间,详细及时的了解文件发送签收情况,而且便于文件的统一管理和分类。 <br><br> 一个单位只需一套系统运行在一台计算机上,其他用户只要通过浏览器登陆该系统,即可进行多部门、多用户同时使用系统。<br>
资源详情
资源评论
资源推荐
收起资源包目录
智元软件公文传输管理系统 V4.0.1 (225个子文件)
chinadoc.asp 1.19MB
ENET.asp 184KB
INDEX.ASP 10KB
REPLY.ASP 9KB
list.ASP 9KB
zysoft_admindbleft.asp 7KB
zysoft_adminleft.asp 6KB
zysoft_jyleft.asp 5KB
ADD.ASP 5KB
zysoft_tgleft.asp 5KB
zysoft_meetleft.asp 5KB
zysoft_adminhyleft.asp 5KB
zysoft_adminzlleft.asp 5KB
zysoft_adminwjleft.asp 5KB
zysoft_seluser.asp 5KB
zysoft_address.asp 5KB
CONFIG.ASP 4KB
zysoft_admintbleft.asp 4KB
zysoft_newfile.asp 3KB
zysoft_modifyfile.asp 3KB
zysoft_modifydata.asp 3KB
zysoft_fbdata.asp 3KB
zysoft_docsearch.asp 3KB
zysoft_meetfk.asp 2KB
zysoft_meetqs.asp 2KB
zysoft_datasearch.asp 2KB
zysoft_adduser.asp 2KB
zysoft_meetsearch.asp 2KB
zysoft_tgsearch.asp 2KB
zysoft_dataqs.asp 2KB
zysoft_fileqs.asp 2KB
zysoft_newmeet.asp 2KB
zysoft_mgrpower.asp 2KB
zysoft_adminroles.asp 2KB
zysoft_register.asp 2KB
zysoft_adminwj.asp 2KB
zysoft_adminfbfile.asp 2KB
zysoft_tonggao.asp 2KB
zysoft_mgrgroup.asp 2KB
zysoft_admindb.asp 2KB
zysoft_adminfbmeet.asp 2KB
zysoft_adminhy.asp 2KB
zysoft_adminzl.asp 2KB
zysoft_adminfbdata.asp 2KB
zysoft_data.asp 2KB
zysoft_admin.asp 2KB
zysoft_adminfbgg.asp 2KB
zysoft_meet.asp 2KB
zysoft_admintb.asp 2KB
index.asp 2KB
zysoft_jianyi.asp 2KB
zysoft_modifyuser.asp 2KB
savereply.asp 2KB
zysoft_newtg.asp 2KB
zysoft_basepara.asp 1KB
zysoft_modifymeet.asp 1KB
SAVE.ASP 1KB
zysoft_mgruser.asp 1KB
zysoft_mgrfiletype.asp 1KB
zysoft_meetqianshou.asp 1KB
zysoft_dataqianshou.asp 1KB
zysoft_qianshou.asp 1KB
zysoft_showonemeet.asp 1KB
checkuser.asp 1010B
default.asp 1009B
zysoft_listdoc.asp 1001B
zysoft_mgrmeet.asp 1000B
zysoft_mgrtg.asp 996B
zysoft_datalist.asp 992B
zysoft_mgrdatatype.asp 927B
zysoft_mgrroles.asp 924B
zysoft_admin_Init.asp 905B
zysoft_listgroup.asp 850B
zysoft_mgrfk.asp 762B
zysoft_frmTop.asp 740B
zysoft_mgrmeetfile.asp 715B
download.asp 700B
zysoft_dataqsindb.asp 697B
zysoft_meetqsindb.asp 697B
zysoft_qianshouindb.asp 696B
zysoft_meetfile.asp 682B
zysoft_filetype.asp 649B
zysoft_MeetSingReport.asp 648B
zysoft_dataSingReport.asp 648B
zysoft_docSingReport.asp 646B
zysoft_adminpower.asp 645B
zysoft_datatype.asp 644B
zysoft_showtg.asp 634B
zysoft_showtoptg.asp 629B
zysoft_showmeet.asp 612B
zysoft_tglist.asp 611B
zysoft_admin_fso.asp 602B
zysoft_meetdata.asp 598B
zysoft_mgrdata.asp 597B
modifypass.asp 596B
zysoft_mgrfile.asp 595B
zysoft_showfk.asp 591B
zysoft_adminTop.asp 584B
zysoft_loginlog.asp 546B
zysoft_PrintMeetSignReport.asp 514B
共 225 条
- 1
- 2
- 3
chinadoc
- 粉丝: 2
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0