This commit is contained in:
hanjian
2024-08-14 15:17:51 +08:00
parent 20a221c1a2
commit b610f94b2e
3483 changed files with 650965 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
<html>
<head>
<meta http-equiv="content-type" content="text/xml; charset=utf-8" />
<title>My97DatePicker</title>
<script type="text/javascript" src="config.js"></script>
<script>
if(parent==window)
location.href = 'http://www.my97.net/';
var $d, $dp, $pdp = parent.$dp, $dt, $tdt, $sdt, $lastInput, $IE=$pdp.ie, $FF = $pdp.ff,$OPERA=$pdp.opera, $ny, $cMark = false;
if ($pdp.eCont) {
$dp = {};
for (var p in $pdp) {
$dp[p] = $pdp[p];
}
}
else
$dp = $pdp;
$dp.realLang = getCurr(langList, $dp.lang);
document.write("<script src='lang/" + $dp.realLang.name + ".js' charset='" + $dp.realLang.charset + "'><\/script>");
for (var i = 0; i < skinList.length; i++) {
document.write('<link rel="stylesheet" type="text/css" href="skin/' + skinList[i].name + '/datepicker.css" title="' + skinList[i].name + '" charset="' + skinList[i].charset + '" disabled="true"/>');
}
function getCurr(arr, name){
var isFound = false;
var item = arr[0];
for (var i = 0; i < arr.length; i++) {
if (arr[i].name == name) {
item = arr[i];
break;
}
}
return item;
}
</script>
<script type="text/javascript" src="calendar.js"></script>
</head>
<body leftmargin="0" topmargin="0" onload="$c.autoSize()">
</body>
</html>
<script>new My97DP();</script>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,12 @@
var langList =
[
{name:'en', charset:'UTF-8'},
{name:'zh-cn', charset:'UTF-8'},
{name:'zh-tw', charset:'UTF-8'}
];
var skinList =
[
{name:'default', charset:'UTF-8'},
{name:'whyGreen', charset:'UTF-8'}
];

View File

@@ -0,0 +1,12 @@
var $lang={
errAlertMsg: "Invalid date or the date out of range,redo or not?",
aWeekStr: ["wk", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
aMonStr: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
clearStr: "Clear",
todayStr: "Today",
okStr: "OK",
updateStr: "Update",
timeStr: "Time",
quickStr: "Quick Selection",
err_1: 'MinDate Cannot be bigger than MaxDate!'
}

View File

@@ -0,0 +1,12 @@
var $lang={
errAlertMsg: "不合法的日期格式或者日期超出限定范围,需要撤销吗?",
aWeekStr: ["周","日","一","二","三","四","五","六"],
aMonStr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一","十二"],
clearStr: "清空",
todayStr: "今天",
okStr: "确定",
updateStr: "更新",
timeStr: "时间",
quickStr: "快速选择",
err_1: '最小日期不能大于最大日期!'
}

View File

@@ -0,0 +1,12 @@
var $lang={
errAlertMsg: "不合法的日期格式或者日期超出限定范围,需要撤销吗?",
aWeekStr: ["周","日","一","二","三","四","五","六"],
aMonStr: ["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一","十二"],
clearStr: "清空",
todayStr: "今天",
okStr: "确定",
updateStr: "更新",
timeStr: "时间",
quickStr: "快速选择",
err_1: '最小日期不能大于最大日期!'
}

View File

@@ -0,0 +1,10 @@
.Wdate{
border:#999 1px solid;
height:20px;
background:#fff url(datePicker.gif) no-repeat right;
}
.WdateFmtErr{
font-weight:bold;
color:red;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -0,0 +1,237 @@
/*
* My97 DatePicker 4.1
* ??????:default
* ???????:My97
*/
/* ??????????? DIV */
.WdateDiv{
width:180px;
background-color:#FFFFFF;
border:#bbb 1px solid;
padding:2px;
}
.WdateDiv *{font-size:9pt;}
/****************************
* ???????
***************************/
.WdateDiv .NavImg {
cursor:pointer;
width:16px;
height:16px;
margin-top:1px;
}
.WdateDiv .NavImgll { background:url(img.gif) no-repeat; }
.WdateDiv .NavImgl { background:url(img.gif) no-repeat -16px 0px; }
.WdateDiv .NavImgr { background:url(img.gif) no-repeat -32px 0px; }
.WdateDiv .NavImgrr { background:url(img.gif) no-repeat -48px 0px; }
/****************************
* ????·????
***************************/
/* ????·?8 DIV */
.WdateDiv #dpTitle{
height:24px;
margin-bottom:2px;
padding:1px;
}
/* ????·?????? INPUT */
.WdateDiv .yminput{
margin-top:2px;
text-align:center;
border:0px;
height:16px;
width:50px;
cursor:pointer;
}
/* ????·???????y????????? INPUT */
.WdateDiv .yminputfocus{
margin-top:2px;
text-align:center;
font-weight:bold;
color:blue;
border:#ccc 1px solid;
height:16px;
width:50px;
}
/* ??????? DIV */
.WdateDiv .menuSel{
position:absolute;
background-color:#FFFFFF;
border:#ccc 1px solid;
display:none;
}
/* ???????? TD */
.WdateDiv .menu{
cursor:pointer;
background-color:#fff;
}
/* ?????mouseover??? TD */
.WdateDiv .menuOn{
cursor:pointer;
background-color:#BEEBEE;
}
/* ?????Ч?????? TD */
.WdateDiv .invalidMenu{
color:#aaa;
}
/* ?????????? DIV */
.WdateDiv .YMenu{
margin-top:16px;
}
/* ?????????? DIV */
.WdateDiv .MMenu{
margin-top:16px;
*width:62px;
}
/* ??????λ?? DIV */
.WdateDiv .hhMenu{
margin-top:-90px;
margin-left:26px;
}
/* ???????λ?? DIV */
.WdateDiv .mmMenu{
margin-top:-46px;
margin-left:26px;
}
/* ???????λ?? DIV */
.WdateDiv .ssMenu{
margin-top:-24px;
margin-left:26px;
}
/****************************
* ?????
***************************/
.WdateDiv .Wweek {
text-align:center;
background:#DAF3F5;
border-right:#BDEBEE 1px solid;
}
/****************************
* ????,???????
***************************/
/* ????8 TR */
.WdateDiv .MTitle{
background-color:#BDEBEE;
}
/* ????8??? TABLE */
.WdateDiv .WdayTable{
line-height:20px;
border:#c5d9e8 1px solid;
}
/* ????????? TD */
.WdateDiv .Wday{
cursor:pointer;
}
/* ??????mouseover??? TD */
.WdateDiv .WdayOn{
cursor:pointer;
background-color:#C0EBEF;
}
/* ???????????? TD */
.WdateDiv .Wwday{
cursor:pointer;
color:#FF2F2F;
}
/* ?????????mouseover??? TD */
.WdateDiv .WwdayOn{
cursor:pointer;
color:#000;
background-color:#C0EBEF;
}
.WdateDiv .Wtoday{
cursor:pointer;
background-color:#FFCCCC;
}
.WdateDiv .Wselday{
background-color:#00FF00;
}
/* ?????·?????? */
.WdateDiv .WotherDay{
cursor:pointer;
color:#6A6AFF;
}
/* ?????·??????mouseover??? */
.WdateDiv .WotherDayOn{
cursor:pointer;
background-color:#C0EBEF;
}
/* ??Ч????????,?????????Χ?????????????,???????????? */
.WdateDiv .WinvalidDay{
color:#aaa;
}
/****************************
* ??????
***************************/
/* ???8 DIV */
.WdateDiv #dpTime{
float:left;
margin-top:3px;
margin-right:30px;
}
/* ??????? SPAN */
.WdateDiv #dpTime #dpTimeStr{
margin-left:1px;
}
/* ???????? INPUT */
.WdateDiv #dpTime input{
height:16px;
width:18px;
text-align:center;
border:#ccc 1px solid;
}
/* ??? ? INPUT */
.WdateDiv #dpTime .tB{
border-right:0px;
}
/* ??? ?????? ':' INPUT */
.WdateDiv #dpTime .tE{
border-left:0;
border-right:0;
}
/* ??? ?? INPUT */
.WdateDiv #dpTime .tm{
width:7px;
border-left:0;
border-right:0;
}
/* ????????????? BUTTON */
.WdateDiv #dpTime #dpTimeUp{
height:10px;
width:13px;
border:0px;
background:url(img.gif) no-repeat -32px -16px;
}
/* ??????????°?? BUTTON */
.WdateDiv #dpTime #dpTimeDown{
height:10px;
width:13px;
border:0px;
background:url(img.gif) no-repeat -48px -16px;
}
/****************************
* ????
***************************/
.WdateDiv #dpQS {
float:left;
margin-right:3px;
margin-top:3px;
background:url(img.gif) no-repeat 0px -16px;
width:20px;
height:20px;
cursor:pointer;
}
.WdateDiv #dpControl {
text-align:right;
margin-top:3px;
}
.WdateDiv .dpButton{
height:20px;
width:45px;
border:#ccc 1px solid;
padding:2px;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

View File

@@ -0,0 +1,243 @@
/*
* My97 DatePicker 4.1
* ?紃?:whyGreen
* ?纱畟:why
*/
/* ?????? DIV */
.WdateDiv{
width:180px;
background-color:#fff;
border:#C5E1E4 1px solid;
padding:2px;
}
.WdateDiv *{font-size:9pt;}
/****************************
* 强??
***************************/
.WdateDiv .NavImg {
cursor:pointer;
width:16px;
height:16px;
margin-top:1px;
}
.WdateDiv .NavImgll { background:url(img.gif) no-repeat; }
.WdateDiv .NavImgl { background:url(img.gif) no-repeat -16px 0px; }
.WdateDiv .NavImgr { background:url(img.gif) no-repeat -32px 0px; }
.WdateDiv .NavImgrr { background:url(img.gif) no-repeat -48px 0px; }
/****************************
* ī睔·??
***************************/
/* ī睔·?蠄IV */
.WdateDiv #dpTitle{
height:24px;
padding:1px;
border:#c5d9e8 1px solid;
background:url(bg.jpg);
margin-bottom:2px;
}
/* ī睔·???INPUT */
.WdateDiv .yminput{
margin-top:2px;
text-align:center;
border:0px;
height:16px;
width:50px;
color:#034c50;
background-color:transparent;
cursor:pointer;
}
/* ī睔·??????儑铦 INPUT */
.WdateDiv .yminputfocus{
margin-top:2px;
text-align:center;
border:#939393 1px solid;
font-weight:bold;
color:#034c50;
height:16px;
width:50px;
}
/* ?呡??DIV */
.WdateDiv .menuSel{
position:absolute;
background-color:#FFFFFF;
border:#A3C6C8 1px solid;
display:none;
}
/* ?嵄?? TD */
.WdateDiv .menu{
cursor:pointer;
background-color:#fff;
color:#11777C;
}
/* ?嵄mouseover?? TD */
.WdateDiv .menuOn{
cursor:pointer;
background-color:#BEEBEE;
}
/* ?厞Ч?儑铦 TD */
.WdateDiv .invalidMenu{
color:#aaa;
}
/* ī????? DIV */
.WdateDiv .YMenu{
margin-top:16px;
}
/* ?????? DIV */
.WdateDiv .MMenu{
margin-top:16px;
*width:62px;
}
/* ?????? DIV */
.WdateDiv .hhMenu{
margin-top:-90px;
margin-left:26px;
}
/* 疑???? DIV */
.WdateDiv .mmMenu{
margin-top:-46px;
margin-left:26px;
}
/* e????? DIV */
.WdateDiv .ssMenu{
margin-top:-24px;
margin-left:26px;
}
/****************************
* ??阍
***************************/
.WdateDiv .Wweek {
text-align:center;
background:#DAF3F5;
border-right:#BDEBEE 1px solid;
}
/****************************
* ??,???阍
***************************/
/* ??8 TR */
.WdateDiv .MTitle{
color:#13777e;
background-color:#bdebee;
}
/* ??8??ABLE */
.WdateDiv .WdayTable{
line-height:20px;
color:#13777e;
background-color:#edfbfb;
border:#BEE9F0 1px solid;
}
/* ??豵?铦 TD */
.WdateDiv .Wday{
cursor:pointer;
}
/* ??豵?ouseover?? TD */
.WdateDiv .WdayOn{
cursor:pointer;
background-color:#74d2d9 ;
}
/* ????豵?铦 TD */
.WdateDiv .Wwday{
cursor:pointer;
color:#ab1e1e;
}
/* ????豵?ouseover?? TD */
.WdateDiv .WwdayOn{
cursor:pointer;
background-color:#74d2d9;
}
.WdateDiv .Wtoday{
cursor:pointer;
color:blue;
}
.WdateDiv .Wselday{
background-color:#A7E2E7;
}
/* ???睵???*/
.WdateDiv .WotherDay{
cursor:pointer;
color:#0099CC;
}
/* ???睵???ouseover?? */
.WdateDiv .WotherDayOn{
cursor:pointer;
background-color:#C0EBEF;
}
/* ΞЧ??儑铦,????控????豵?铦,???侩??*/
.WdateDiv .WinvalidDay{
color:#aaa;
}
/****************************
* ???
***************************/
/* ??蠄IV */
.WdateDiv #dpTime{
}
/* ????SPAN */
.WdateDiv #dpTime #dpTimeStr{
margin-left:1px;
color:#497F7F;
}
/* ????INPUT */
.WdateDiv #dpTime input{
height:16px;
width:18px;
text-align:center;
color:#333;
border:#61CAD0 1px solid;
}
/* ??? INPUT */
.WdateDiv #dpTime .tB{
border-right:0px;
}
/* ??疺?临绠':' INPUT */
.WdateDiv #dpTime .tE{
border-left:0;
border-right:0;
}
/* ??e INPUT */
.WdateDiv #dpTime .tm{
width:7px;
border-left:0;
border-right:0;
}
/* ???????堂UTTON */
.WdateDiv #dpTime #dpTimeUp{
height:10px;
width:13px;
border:0px;
background:url(img.gif) no-repeat -32px -16px;
}
/* ???????堂UTTON */
.WdateDiv #dpTime #dpTimeDown{
height:10px;
width:13px;
border:0px;
background:url(img.gif) no-repeat -48px -16px;
}
/****************************
* ??
***************************/
.WdateDiv #dpQS {
float:left;
margin-right:3px;
margin-top:3px;
background:url(img.gif) no-repeat 0px -16px;
width:20px;
height:20px;
cursor:pointer;
}
.WdateDiv #dpControl {
text-align:right;
margin-top:3px;
}
.WdateDiv .dpButton{
height:20px;
width:45px;
padding:2px;
border:#38B1B9 1px solid;
background-color:#CFEBEE;
color:#08575B;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB