//----------------------------------------------------------------------------
// 这是梅花雨做的一个日历 Javascript 页面脚本控件,适用于微软的 IE (5.0以上)浏览器
// 主调用函数是 setday(this,[object])和setday(this),[object]是控件输出的控件名,举两个例子:
// 一、<input name=txt><input type=button value=setday onclick="setday(this,document.all.txt)">
// 二、<input onfocus="setday(this)">
// 若有什么不足的地方,或者您有更好的建议,请与我联系:mail: meizz@hzcnc.com
// 本日历的年份限制是(1000 - 9999)
// 按ESC键关闭该控件
// 在年和月的显示地方点击时会分别出年与月的下拉框
// 控件外任意点击一点即可关闭该控件
/* 以下为walkingpoison的修改说明
walkingpoison联系方式:wayx@kali.com.cn
Ver 2.0
修改日期:2002-12-13
修改内容:
1.*全新修改使用iframe作为日历的载体,不再被select和flash等控件挡住。
2.修正了移植到iframe后移动日历控件的问题。
Ver 1.5
修改日期:2002-12-4
修改内容:
1.选中的日期显示为凹下去的样式
2.修改了关闭层的方法,使得失去焦点的时候能够关闭日历。
3.修改按键处理,使得Tab切换焦点的时候可以关闭控件
4.*可以自定义日历是否可以拖动
Ver 1.4
修改日期:2002-12-3
修改内容:
1.修正选中年/月份下拉框后按Esc键导致年/月份不显示的问题
2.修正使用下拉框选择月份造成的日期错误(字符串转化为数字的问题)
3.*外观样式的改进,使得控件从丑小鸭变成了美丽的天鹅,从灰姑娘变成了高贵的公主,从……(读者可以自己进行恰当的比喻)
4.再次增大年/月份的点击空间,并对下拉框的位置稍作调整
注:*号表示比较关键的改动
说明:
1.受到iframe的限制,如果拖动出日历窗口,则日历会停止移动。
*/
//==================================================== 参数设定部分 =======================================================
var bMoveable=true; //设置日历是否可以拖动
var _VersionInfo="Version:2003 作者:iOffice.net" //版本信息
//==================================================== WEB 页面显示部分 =====================================================
var strFrame; //存放日历层的HTML代码
document.writeln('<iframe id=meizzDateLayer Author=wayx frameborder=0 style="position: absolute; width: 150; height: 220; z-index: 9998; display: none"></iframe>');
strFrame='<style>';
strFrame+='INPUT.button{BORDER-RIGHT: #0066cc 1px solid;BORDER-TOP: #0066cc 1px solid;BORDER-LEFT: #0066cc 1px solid;';
strFrame+='BORDER-BOTTOM: #0066cc 1px solid;BACKGROUND-COLOR: #fff8ec;font-family:宋体;}';
strFrame+='INPUT.button2{BORDER-RIGHT: #0066cc 1px solid;BORDER-TOP: #0066cc 1px solid;BORDER-LEFT: #0066cc 1px solid;';
strFrame+='BORDER-BOTTOM: #0066cc 1px solid;BACKGROUND-COLOR: #d0e8ff;font-family:宋体;}';
strFrame+='TD{FONT-SIZE: 9pt;font-family:宋体;}';
strFrame+='</style>';
strFrame+='<scr' + 'ipt>';
strFrame+='var datelayerx,datelayery; /*存放日历控件的鼠标位置*/';
strFrame+='var bDrag; /*标记是否开始拖动*/';
strFrame+='function document.onmousemove() /*在鼠标移动事件中,如果开始拖动日历,则移动日历*/';
strFrame+='{if(bDrag && window.event.button==1)';
strFrame+=' {var DateLayer=parent.document.all.meizzDateLayer.style;';
strFrame+=' DateLayer.posLeft += window.event.clientX-datelayerx;/*由于每次移动以后鼠标位置都恢复为初始的位置,因此写法与div中不同*/';
strFrame+=' DateLayer.posTop += window.event.clientY-datelayery;}}';
strFrame+='function DragStart() /*开始日历拖动*/';
strFrame+='{var DateLayer=parent.document.all.meizzDateLayer.style;';
strFrame+=' datelayerx=window.event.clientX;';
strFrame+=' datelayery=window.event.clientY;';
strFrame+=' bDrag=true;}';
strFrame+='function DragEnd(){ /*结束日历拖动*/';
strFrame+=' bDrag=false;}';
strFrame+='</scr' + 'ipt>';
strFrame+='<div style="z-index:9999;position: absolute; left:0; top:0;" onselectstart="return false"><span id=tmpSelectYearLayer Author=wayx style="z-index: 9999;position: absolute;top: 3; left: 19;display: none"></span>';
strFrame+='<span id=tmpSelectMonthLayer Author=wayx style="z-index: 9999;position: absolute;top: 3; left: 78;display: none"></span>';
strFrame+='<table border=1 cellspacing=0 cellpadding=0 width=142 height=160 bordercolor=#0066cc bgcolor=#0066cc Author="wayx">';
strFrame+=' <tr Author="wayx"><td width=142 height=23 Author="wayx" bgcolor=#FFFFFF><table border=0 cellspacing=1 cellpadding=0 width=140 Author="wayx" height=23>';
strFrame+=' <tr align=center Author="wayx"><td width=16 align=center bgcolor=#0066cc style="font-size:12px;cursor: hand;color: #ffffff" ';
strFrame+=' onclick="parent.meizzPrevM()" title="向前翻 1 月" Author=meizz><b Author=meizz><</b>';
strFrame+=' </td><td width=60 align=center style="font-size:12px;cursor:default" Author=meizz ';
strFrame+='onmouseover="style.backgroundColor=\'#0066cc\'" onmouseout="style.backgroundColor=\'white\'" ';
strFrame+='onclick="parent.tmpSelectYearInnerHTML(this.innerText.substring(0,4))" title="点击这里选择年份"><span Author=meizz id=meizzYearHead></span></td>';
strFrame+='<td width=48 align=center style="font-size:12px;cursor:default" Author=meizz onmouseover="style.backgroundColor=\'#0066cc\'" ';
strFrame+=' onmouseout="style.backgroundColor=\'white\'" onclick="parent.tmpSelectMonthInnerHTML(this.innerText.length==3?this.innerText.substring(0,1):this.innerText.substring(0,2))"';
strFrame+=' title="点击这里选择月份"><span id=meizzMonthHead Author=meizz></span></td>';
strFrame+=' <td width=16 bgcolor=#0066cc align=center style="font-size:12px;cursor: hand;color: #ffffff" ';
strFrame+=' onclick="parent.meizzNextM()" title="向后翻 1 月" Author=meizz><b Author=meizz>></b></td></tr>';
strFrame+=' </table></td></tr>';
strFrame+=' <tr Author="wayx"><td width=142 height=18 Author="wayx">';
strFrame+='<table border=1 cellspacing=0 cellpadding=0 bgcolor=#0066cc ' + (bMoveable? 'onmousedown="DragStart()" onmouseup="DragEnd()"':'');
strFrame+=' BORDERCOLORLIGHT=#0066cc BORDERCOLORDARK=#FFFFFF width=140 height=20 Author="wayx" style="cursor:' + (bMoveable ? 'move':'default') + '">';
strFrame+='<tr Author="wayx" align=center valign=bottom><td style="font-size:12px;color:#FFFFFF" Author=meizz>日</td>';
strFrame+='<td style="font-size:12px;color:#FFFFFF" Author=meizz>一</td><td style="font-size:12px;color:#FFFFFF" Author=meizz>二</td>';
strFrame+='<td style="font-size:12px;color:#FFFFFF" Author=meizz>三</td><td style="font-size:12px;color:#FFFFFF" Author=meizz>四</td>';
strFrame+='<td style="font-size:12px;color:#FFFFFF" Author=meizz>五</td><td style="font-size:12px;color:#FFFFFF" Author=meizz>六</td></tr>';
strFrame+='</table></td></tr><!-- Author:F.R.Huang(meizz) http://www.meizz.com/ mail: meizz@hzcnc.com 2002-10-8 -->';
strFrame+=' <tr Author="wayx"><td width=142 height=120 Author="wayx">';
strFrame+=' <table border=1 cellspacing=2 cellpadding=0 BORDERCOLORLIGHT=#0066cc BORDERCOLORDARK=#FFFFFF bgcolor=#fff8ec width=140 height=120 Author="wayx">';
var n=0; for (j=0;j<5;j++){ strFrame+= ' <tr align=center Author="wayx">'; for (i=0;i<7;i++){
strFrame+='<td width=20 height=20 id=meizzDay'+n+' style="font-size:12px" Author=meizz onclick=parent.meizzDayClick(this.innerText,0)></td>';n++;}
strFrame+='</tr>';}
strFrame+=' <tr align=center Author="wayx">';
for (i=35;i<39;i++)strFrame+='<td width=20 height=20 id=meizzDay'+i+' style="font-size:12px" Author=wayx onclick="parent.meizzDayClick(this.innerText,0)"></td>';
strFrame+=' <td colspan=3 align=right Author=meizz><span onclick=parent.closeLayer() style="font-size:12px;cursor: hand"';
strFrame+=' Author=meizz title="' + _VersionInfo + '"><u>关闭</u></span> </td></tr>';
strFrame+=' </table></td></tr><tr Author="wayx"><td Author="wayx">';
strFrame+=' <table border=0 cellspacing=1 cellpadding=0 width=100% Author="wayx" bgcolor=#FFFFFF>';
strFrame+=' <tr Author="wayx"><td Author=meizz align=left><input Author=meizz type=button class=button2 value="<<" title="向前翻 1 年" onclick="parent.meizzPrevY()" ';
strFrame+=' onfocus="this.blur()" style="font-size: 12px; height: 20px"><input Author=meizz class=button2 title="向前翻 1 月" type=button
没有合适的资源?快使用搜索试试~ 我知道了~
Asp.Net用友华表(V5.1) 制作自定义报表.zip
共374个文件
gif:107个
resources:53个
cs:42个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 8 浏览量
2022-04-18
10:03:00
上传
评论
收藏 6.13MB ZIP 举报
温馨提示
net源代码
资源推荐
资源详情
资源评论
收起资源包目录
Asp.Net用友华表(V5.1) 制作自定义报表.zip (374个子文件)
Global.asax 77B
ParamInput.ascx 406B
eReport.aspx 22KB
ReportView.aspx 2KB
ReportWaite.aspx 1003B
ReportDemo.bak 3.15MB
cll.bmp 822B
cellweb5.cab 1.29MB
R274965056.cll 6KB
R194914111735.cll 6KB
R852813558.cll 3KB
R304936551.cll 3KB
R3049355344.cll 2KB
R284933462.cll 2KB
R2849331712.cll 2KB
R284932540.cll 2KB
R2849335816.cll 2KB
R2849321329.cll 2KB
R3049355811.cll 2KB
R16483141443.cll 2KB
R284935234.cll 2KB
R2849351518.cll 2KB
R2849352917.cll 2KB
R284934135.cll 2KB
R31491243118.cll 2KB
R1549112150.cll 2KB
R324912567.cll 2KB
R27483152048.cll 2KB
R25483141931.cll 2KB
R25498104320.cll 2KB
R17498101921.cll 2KB
R1749393321.cll 2KB
R20483153132.cll 2KB
R44521212740.cll 1KB
R44521110947.cll 1KB
Web.config 4KB
frmReport.cs 83KB
frmCellContent.cs 53KB
CReportMethod.cs 51KB
CReportCon.cs 47KB
frmNewRpt.cs 38KB
frmGetSelect.cs 34KB
frmReportPro.cs 28KB
ucFilterControl.cs 14KB
Form1.cs 13KB
CSqlBuilder.cs 13KB
CCellMethods.cs 12KB
frmSetParams.cs 12KB
DBField.cs 11KB
usStaticContent.cs 10KB
frmSaveReport.cs 9KB
CDataAccess.cs 8KB
frmSetCondition.cs 8KB
frmOpenReport.cs 7KB
frmFilter.cs 7KB
frmGetParamValue.cs 6KB
frmConnConfig.cs 6KB
CDataDictionary.cs 5KB
ParamInput.ascx.cs 4KB
frmAbout.cs 4KB
frmAbout.cs 4KB
frmStaContent.cs 4KB
ReportView.aspx.cs 3KB
frmExecReport.cs 3KB
eReport.aspx.cs 3KB
DBTable.cs 3KB
CReport.cs 3KB
AssemblyInfo.cs 2KB
Global.asax.cs 2KB
AssemblyInfo.cs 2KB
AssemblyInfo.cs 2KB
AssemblyInfo.cs 2KB
AssemblyInfo.cs 2KB
ReportWaite.aspx.cs 2KB
CSystemBm.cs 1KB
CResource.cs 900B
BMInfo.cs 652B
CStringFunction.cs 477B
cellReport.csproj 26KB
ReportDesign.csproj 12KB
ReportServiceConfig.csproj 7KB
ReportBusiness.csproj 7KB
DataAccess.csproj 4KB
Paiche2.css 9KB
test.css 9KB
Style.css 9KB
DataGridMagic.css 7KB
BaseInfo.css 7KB
Common.css 4KB
navbar.css 2KB
navbar.css 1KB
olstyle.css 1KB
GuideAdmin.css 1KB
top.css 376B
HGrid.dll 488KB
MagicLibrary.dll 388KB
MagicLibrary.dll 388KB
Chart10.dll 193KB
HGrid3x.dll 167KB
HEdit.dll 153KB
共 374 条
- 1
- 2
- 3
- 4
资源评论
programyg
- 粉丝: 161
- 资源: 21万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 农村信用社联合社计算机信息系统投产与变更管理办.docx
- 农村信用社联合社计算机信息系统数据管理办法.docx
- 利用SPSS作临床效度分析线上计算网站介绍-医学研究部统计谘.(医学PPT课件).ppt
- 利用Zabbix监控mysqldump定时备份数据库状态.docx
- 利用计算机解决问题的基本过程.doc
- 化工铁路通信工程总结.doc
- 北京大学网络教育软件工程作业.docx
- 医药公司(连锁店)计算机操作规程未新系统的自行按照旧制修改-新系统过制的编号加修模版.doc
- 医药公司(连锁店)计算机系统操作规程模版.doc
- 医药连锁门店计算机系统的操作和管理程序未新系统的自行按照旧制修改-新系统过制的编号加修模版.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功