bkjxxxw/WebContent/static/My97DatePicker/docs/demo/resource/2.5.asp.htm

261 lines
14 KiB
HTML
Raw Normal View History

2024-03-18 10:04:33 +08:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="keywords" content="<22><><EFBFBD>ڿؼ<DABF> datepicker calendar <20><><EFBFBD><EFBFBD><EFBFBD>ؼ<EFBFBD> javascript js<6A><73><EFBFBD><EFBFBD><EFBFBD>ؼ<EFBFBD> <20><>ʱ<EFBFBD><CAB1> <20>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD>ʽ <20><><EFBFBD><EFBFBD><EFBFBD>ؼ<EFBFBD> <20><><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1> <20><><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1>" />
<title>My97<EFBFBD><EFBFBD><EFBFBD>ڿؼ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ <20>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD>¼<EFBFBD> My97 Datepicker Demo</title>
<link href="../../css/base.css" tppabs="http://www.my97.net/dp/css/base.css" rel="stylesheet" type="text/css" />
<link href="demo.css" tppabs="http://www.my97.net/dp/demo/resource/demo.css" rel="stylesheet" type="text/css" />
</head>
<body>
<iframe src="../../head.asp" tppabs="http://www.my97.net/dp/head.asp" scrolling="no" frameborder="0" height="100px" width="100%"></iframe>
<script language="JavaScript" type="text/javascript" src="../../../WdatePicker.js" tppabs="http://www.my97.net/dp/My97DatePicker/WdatePicker.js"></script>
<div class="dCenter dBody">
<div id="content">
<h2><EFBFBD><EFBFBD>. <20><><EFBFBD>ܼ<EFBFBD>ʾ<EFBFBD><CABE><a name="m2" id="m2"></a></h2>
<h3>5. <20>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD>¼<EFBFBD><a name="m25" id="m25"></a></h3>
<ol>
<li><EFBFBD>Զ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD>
<a name="m251" id="m251"></a>
<p><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD>һЩ<EFBFBD><EFBFBD><EFBFBD>ӵIJ<EFBFBD><EFBFBD><EFBFBD>,<2C><>Ҳ<EFBFBD><D2B2><EFBFBD>ص<EFBFBD><D8B5><EFBFBD>,<2C><><EFBFBD>ڿؼ<DABF><D8BC>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<2E><><EFBFBD><EFBFBD>,<2C><EFBFBD><E3BBB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD>¼<EFBFBD><C2BC>е<EFBFBD><D0B5><EFBFBD><EFBFBD><EFBFBD><E1B9A9>API<50><49><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>չ,<2C><><EFBFBD>Կ<EFBFBD><D4BF><EFBFBD>ͨ<EFBFBD><CDA8><EFBFBD><EFBFBD><EFBFBD>ٵĴ<D9B5><C4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E3BCB0><EFBFBD><EFBFBD><EFBFBD>Ի<EFBFBD><D4BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<br />
<br />
ע<><D7A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6BCB8><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA>ָ<EFBFBD><D6B8>,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD><C4B1>̴<EFBFBD><CCB4><EFBFBD><EFBFBD>ܶ<EFBFBD><DCB6><EFBFBD><EFBFBD><EFBFBD><br />
<span class="STYLE1">this: ָ<><D6B8><EFBFBD>ı<EFBFBD><C4B1><EFBFBD><br />
dp: ָ<><D6B8>$dp<br />
dp.cal: ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD>ڿؼ<DABF><D8BC><EFBFBD><EFBFBD><EFBFBD></span><br />
ע<><D7A2>:<3A><><EFBFBD><EFBFBD>ԭ<EFBFBD>ͱ<EFBFBD><CDB1><EFBFBD>ʹ<EFBFBD><CAB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span class="STYLE1">function(dp){} </span><EFBFBD><EFBFBD>ģʽ,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,<2C>ں<EFBFBD><DABA><EFBFBD><EFBFBD>ڲ<EFBFBD><DAB2>ſ<EFBFBD><C5BF><EFBFBD>ʹ<EFBFBD><CAB9>dp</p>
</li>
<li>onpicking <20><> onpicked <20>¼<EFBFBD>
<a name="m252" id="m252"></a>
<div>
<h4>ʾ<EFBFBD><EFBFBD>5-2-1 onpicking<6E>¼<EFBFBD><C2BC><EFBFBD>ʾ</h4>
<p>
<input type="text" id="5421" onFocus="WdatePicker({onpicking:function(dp){if(!confirm('<27><><EFBFBD>ڿ<EFBFBD>ԭ<EFBFBD><D4AD><EFBFBD><EFBFBD>ֵΪ: '+dp.cal.getDateStr()+', Ҫ<><D2AA><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD>ֵ:' + dp.cal.getNewDateStr() + '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?')) return true;}})" class="Wdate"/>
<br />
&lt;input type=&quot;text&quot; id=&quot;5421&quot; onFocus=&quot;WdatePicker({<span class="STYLE2">onpicking:</span><span class="STYLE1">function(dp){if(!confirm('<27><><EFBFBD>ڿ<EFBFBD>ԭ<EFBFBD><D4AD><EFBFBD><EFBFBD>ֵΪ: '+dp.cal.getDateStr()+', Ҫ<><D2AA><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD>ֵ:' + dp.cal.getNewDateStr() + '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?')) return true;}</span>})&quot; class=&quot;Wdate&quot;/&gt;<br />
<br />
<span class="STYLE1">ע<EFBFBD><EFBFBD>:</span><EFBFBD><EFBFBD>ע<EFBFBD>⵽dp.cal.getDateStr<74><72>dp.cal.getNewDateStr<74><72><EFBFBD>÷<EFBFBD><C3B7><EFBFBD><EFBFBD><EFBFBD>? <20><><EFBFBD><EFBFBD><a href="999.asp-.htm#m5" tppabs="http://www.my97.net/dp/demo/resource/999.asp?#m5"><EFBFBD><EFBFBD><EFBFBD>ú<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a></p>
</div>
<div>
<h4>ʾ<EFBFBD><EFBFBD>5-2-2 ʹ<><CAB9>onpickedʵ<64><CAB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h4>
<p>ѡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD>ʱ<EFBFBD><EFBFBD>,<2C>ڶ<EFBFBD><DAB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD><br />
<20><><EFBFBD>ڴ<EFBFBD>:
<input id="d5221" class="Wdate" type="text" onFocus="var d5222=$dp.$('d5222');WdatePicker({onpicked:function(){d5222.focus();},maxDate:'#F{$dp.$D(\'d5222\')}'})"/>
<20><>
<input id="d5222" class="Wdate" type="text" onFocus="WdatePicker({minDate:'#F{$dp.$D(\'d5221\')}'})"/>
<br />
<span class="STYLE1">ע<EFBFBD><EFBFBD>:</span><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD><EFBFBD>ؼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><EFBFBD><br />
&lt;input id=&quot;<span class="STYLE1">d5221</span>&quot; class=&quot;Wdate&quot; type=&quot;text&quot; onFocus=&quot;var d5222=$dp.$('d5222');WdatePicker({<span class="STYLE2">onpicked:</span><span class="STYLE1">function(){d5222.focus();}</span>,maxDate:'#F{$dp.$D(\'d5222\')}'})&quot;/&gt;<br />
<EFBFBD><EFBFBD><br />
&lt;input id=&quot;<span class="STYLE1">d5222</span>&quot; class=&quot;Wdate&quot; type=&quot;text&quot; onFocus=&quot;WdatePicker({minDate:'#F{$dp.$D(\'d5221\')}'})&quot;/&gt;<br />
<br />
<span class="STYLE1">ע<EFBFBD><EFBFBD>:</span>$dp.$<24><>һ<EFBFBD><D2BB><a href="999.asp-.htm#m5" tppabs="http://www.my97.net/dp/demo/resource/999.asp?#m5"><EFBFBD><EFBFBD><EFBFBD>ú<EFBFBD><EFBFBD><EFBFBD></a>,<2C><EFBFBD><E0B5B1>document.getElementById</p>
</div>
<div>
<h4>ʾ<EFBFBD><EFBFBD>5-2-3 <20><>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD>ֵ<EFBFBD><D6B5>ı<EFBFBD><C4B1><EFBFBD> </h4>
<p>
<input type="text" id="d523_y" size="5"/>
<20><>
<input type="text" id="d523_M" size="3"/>
<20><>
<input type="text" id="d523_d" size="3"/>
<20><>
<input type="text" id="d523_HH" size="3"/>
ʱ
<input type="text" id="d523_mm" size="3"/>
<20><>
<input type="text" id="d523_ss" size="3"/>
<20><>
<input type="text" id="d523"/>
<img onclick="WdatePicker({el:'d523',dateFmt:'yyyy-MM-dd HH:mm:ss',onpicked:pickedFunc})" src="../../../skin/datePicker.gif" tppabs="http://www.my97.net/dp/My97DatePicker/skin/datePicker.gif" width="16" height="22" align="absmiddle" style="cursor:pointer"/>
<script>
function pickedFunc(){
$dp.$('d523_y').value=$dp.cal.getP('y');
$dp.$('d523_M').value=$dp.cal.getP('M');
$dp.$('d523_d').value=$dp.cal.getP('d');
$dp.$('d523_HH').value=$dp.cal.getP('H');
$dp.$('d523_mm').value=$dp.cal.getP('m');
$dp.$('d523_ss').value=$dp.cal.getP('s');
}
</script>
<br />
&lt;input type=&quot;text&quot; id=&quot;d523_y&quot; size=&quot;5&quot;/&gt;
<20><><br />
&lt;input type=&quot;text&quot; id=&quot;d523_M&quot; size=&quot;3&quot;/&gt;
<20><><br />
&lt;input type=&quot;text&quot; id=&quot;d523_d&quot; size=&quot;3&quot;/&gt;
<20><><br />
&lt;input type=&quot;text&quot; id=&quot;d523_HH&quot; size=&quot;3&quot;/&gt;
ʱ<br />
&lt;input type=&quot;text&quot; id=&quot;d523_mm&quot; size=&quot;3&quot;/&gt;
<20><><br />
&lt;input type=&quot;text&quot; id=&quot;d523_ss&quot; size=&quot;3&quot;/&gt;
<20><> <br />
&lt;img onclick=&quot;WdatePicker({<span class="STYLE2">el:</span><span class="STYLE1">'d523'</span>,dateFmt:'yyyy-MM-dd HH:mm:ss',<span class="STYLE2">onpicked:</span><span class="STYLE1">pickedFunc</span>})&quot; src=&quot;../../../skin/datePicker.gif&quot; width=&quot;16&quot; height=&quot;22&quot; align=&quot;absmiddle&quot; style=&quot;cursor:pointer&quot;/&gt;<br />
<span class="STYLE1">&lt;script&gt;</span><br />
<span class="STYLE2">function</span> pickedFunc(){<br />
$dp.$('d523_y').value=$dp.cal.getP('y');<br />
$dp.$('d523_M').value=$dp.cal.getP('M');<br />
$dp.$('d523_d').value=$dp.cal.getP('d');<br />
$dp.$('d523_HH').value=$dp.cal.getP('H');<br />
$dp.$('d523_mm').value=$dp.cal.getP('m');<br />
$dp.$('d523_ss').value=$dp.cal.getP('s');<br />
}<br />
<span class="STYLE1">&lt;/script&gt;</span><br />
<br />
<span class="STYLE1">ע<EFBFBD><EFBFBD>:</span>el:'d523'<27><>,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E3B2BB>Ҫd523<32><33><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,<2C><><EFBFBD><EFBFBD><EFBFBD>԰<EFBFBD><D4B0><EFBFBD><EFBFBD>ij<EFBFBD>hidden,<2C><><EFBFBD><EFBFBD>el<65><6C><EFBFBD>Ա<EFBFBD><D4B1><EFBFBD>ָ<EFBFBD><D6B8><br />
$dp.$<24><>$dp.cal.getP<74><50><EFBFBD><EFBFBD><a href="999.asp-.htm#m5" tppabs="http://www.my97.net/dp/demo/resource/999.asp?#m5"><EFBFBD><EFBFBD><EFBFBD>ú<EFBFBD><EFBFBD><EFBFBD></a> </p>
</div>
</li>
<li>onclearing <20><> oncleared <20>¼<EFBFBD>
<a name="m253" id="m253"></a>
<div>
<h4>ʾ<EFBFBD><EFBFBD>5-3-1 ʹ<><CAB9>onclearing<6E>¼<EFBFBD>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ղ<EFBFBD><D5B2><EFBFBD></h4>
<p>
<input type="text" class="Wdate" id="d531" onFocus="WdatePicker({onclearing:function(){if(!confirm('<27><><EFBFBD>ڿ<EFBFBD><DABF><EFBFBD>ֵΪ:'+this.value+', ȷʵҪ<CAB5><D2AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?'))return true;}})"/>
<br />
&lt;input type=&quot;text&quot; class=&quot;Wdate&quot; id=&quot;d531&quot; onFocus=&quot;WdatePicker({<span class="STYLE2">onclearing:</span><span class="STYLE1">function(){if(!confirm('<27><><EFBFBD>ڿ<EFBFBD><DABF><EFBFBD>ֵΪ:'+this.value+', ȷʵҪ<CAB5><D2AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?'))return true;}</span>})&quot;/&gt;<br />
<br />
<span class="STYLE1">ע<EFBFBD><EFBFBD>:</span><EFBFBD><EFBFBD>onclearing<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>trueʱ,ϵͳ<CFB5><CDB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><C8A1>,<br />
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>$dp,<2C><><EFBFBD>Ժ<EFBFBD><D4BA><EFBFBD>ԭ<EFBFBD><D4AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʡ<EFBFBD>Բ<EFBFBD><D4B2><EFBFBD>dp </p>
</div>
<div>
<h4>ʾ<EFBFBD><EFBFBD>5-3-2 ʹ<><CAB9>cal<61><6C><EFBFBD><EFBFBD>ȡ<EFBFBD>õ<EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD>(ʹ<><CAB9><EFBFBD><EFBFBD> dp.cal)</h4>
<p>
<input type="text" class="Wdate" id="d532" onFocus="WdatePicker({oncleared:function(dp){alert('<27><>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD>Ϊ:'+dp.cal.date.M);}})"/>
<br />
&lt;input type=&quot;text&quot; class=&quot;Wdate&quot; id=&quot;d532&quot; onFocus=&quot;WdatePicker({<span class="STYLE2">oncleared:</span><span class="STYLE1">function(dp){alert('<27><>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD>Ϊ:'+dp.cal.date.M);}</span>})&quot;/&gt;</p>
</div>
<div>
<h4>ʾ<EFBFBD><EFBFBD>5-3-3 <20>ۺ<EFBFBD>ʹ<EFBFBD><CAB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD></h4>
<p>
<input type="text" class="Wdate" id="d533" onFocus="d533_focus(this)" value="2000-04-09"/>
<script>
function d533_focus(element){
var clearingFunc = function(){ if(!confirm('<27><><EFBFBD>ڿ<EFBFBD><DABF><EFBFBD>ֵΪ:'+this.value+', ȷʵҪ<CAB5><D2AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?')) return true; }
var clearedFunc = function(){ alert('<27><><EFBFBD>ڿ<EFBFBD><DABF>ѱ<EFBFBD><D1B1><EFBFBD><EFBFBD><EFBFBD>'); }
WdatePicker({el:element,onclearing:clearingFunc,oncleared:clearedFunc})
}
</script>
<br />
<span class="STYLE1">&lt;script&gt;</span><br />
<span class="STYLE2">function</span> d533_focus(element){<br />
var clearingFunc = function(){
if(!confirm('<27><><EFBFBD>ڿ<EFBFBD><DABF><EFBFBD>ֵΪ:'+this.value+', ȷʵҪ<CAB5><D2AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?')) return true;
}<br />
var clearedFunc = function(){
alert('<27><><EFBFBD>ڿ<EFBFBD><DABF>ѱ<EFBFBD><D1B1><EFBFBD><EFBFBD><EFBFBD>');
}<br />
WdatePicker({el:element,onclearing:clearingFunc,oncleared:clearedFunc})<br />
}<br />
<span class="STYLE1">&lt;/script&gt;</span><br />
&lt;input type=&quot;text&quot; class=&quot;Wdate&quot; id=&quot;d533&quot; onFocus=&quot;<span class="STYLE1">d533_focus(this)</span>&quot;/&gt;</p>
</div>
</li>
<li><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> changing<6E><67>changed <a name="m254" id="m254"></a> <p><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ж<EFBFBD>Ӧ<EFBFBD><EFBFBD>changing<EFBFBD><EFBFBD>changed<EFBFBD>¼<EFBFBD>,<2C>ֱ<EFBFBD><D6B1><EFBFBD>:<br />
ychanging ychanged <br />
Mchanging Mchanged<br />
dchanging dchanged<br />
Hchanging Hchanged<br />
mchanging mchanged<br />
schanging schanged <br />
</p>
<div>
<h4>ʾ<EFBFBD><EFBFBD>5-4-1 <20><><EFBFBD><EFBFBD><EFBFBD>ոı<D5B8>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ</h4>
<p>
<input type="text" class="Wdate" id="d" onFocus="WdatePicker({dchanging:cDayFunc,Mchanging:cMonthFunc,ychanging:cYearFunc,dchanged:cDayFunc,Mchanged:cMonthFunc,ychanged:cYearFunc})"/>
<script>
function cDayFunc(){
cFunc('d');
}
function cMonthFunc(){
cFunc('M');
}
function cYearFunc(){
cFunc('y');
}
function cFunc(who){
var str,p,c = $dp.cal;
if(who=='y'){
str='<27><><EFBFBD><EFBFBD>';
p='y';
}
else if(who=='M'){
str='<27>·<EFBFBD>';
p='M';
}
else if(who=='d'){
str='<27><><EFBFBD><EFBFBD>';
p='d';
}
alert(str+'<27><><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD><C4B1><EFBFBD>!\n$dp.cal.date.'+p+'='+c.date[p]+'\n$dp.cal.newdate.'+p+'='+c.newdate[p]);
}
</script>
<br />
&lt;input type=&quot;text&quot; class=&quot;Wdate&quot; onFocus=&quot;WdatePicker({<span class="STYLE2">dchanging:<span class="STYLE1">cDayFunc</span>, Mchanging:</span><span class="STYLE1">cMonthFunc</span>,<span class="STYLE2"> ychanging:</span><span class="STYLE1">cYearFunc</span>,<span class="STYLE2"> dchanged:<span class="STYLE1">cDayFunc</span>, Mchanged:</span><span class="STYLE1">cMonthFunc</span>, <span class="STYLE2">ychanged:</span><span class="STYLE1">cYearFunc</span>})&quot;/&gt;<br />
<span class="STYLE1">&lt;script&gt;</span><br />
<span class="STYLE2">function</span> cDayFunc(){<br />
cFunc('d');<br />
}<br />
<span class="STYLE2">function</span> cMonthFunc(){<br />
cFunc('M');<br />
}<br />
<span class="STYLE2">function</span> cYearFunc(){<br />
cFunc('y');<br />
}<br />
<span class="STYLE2">function</span> cFunc(who){<br />
var str,p,c = $dp.cal;<br />
if(who=='y'){<br />
str='<27><><EFBFBD><EFBFBD>';<br />
p='y';<br />
}<br />
else if(who=='M'){<br />
str='<27>·<EFBFBD>';<br />
p='M';<br />
}<br />
else if(who=='d'){<br />
str='<27><><EFBFBD><EFBFBD>';<br />
p='d';<br />
}<br />
alert(str+'<27><><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD><C4B1><EFBFBD>!\n$dp.cal.date.'+p+'='+c.date[p]+'\n$dp.cal.newdate.'+p+'='+c.newdate[p]);<br />
}<span class="STYLE1"><br />
&lt;/script&gt;</span><br />
<br />
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD><C3B5><EFBFBD> $dp.cal.date <20><> $dp.cal.newdate <20><><EFBFBD><EFBFBD>,<2C><><EFBFBD>ܴ<EFBFBD><DCB4><EFBFBD><EFBFBD><EFBFBD><EFB7A2><EFBFBD><EFBFBD><EFBFBD>ǵIJ<C7B5>֮ͬ<CDAC><D6AE><EFBFBD><EFBFBD>?<br />
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>й<EFBFBD><D0B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ե<EFBFBD><D4B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><a href="999.asp.htm#m5" tppabs="http://www.my97.net/dp/demo/resource/999.asp#m5"><EFBFBD><EFBFBD><EFBFBD>ú<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>
</p>
</div>
<p><br />
</p>
</li>
</ol>
<h3><a href="2.6.asp.htm" tppabs="http://www.my97.net/dp/demo/resource/2.6.asp">6. <20><><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a> <a name="m26" id="m26"></a></h3>
<h2><a href="3.asp.htm" tppabs="http://www.my97.net/dp/demo/resource/3.asp"><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5></a><a name="m3" id="m3"></a></h2>
<h2><a href="999.asp.htm" tppabs="http://www.my97.net/dp/demo/resource/999.asp"><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9></a><a name="m4" id="m4"></a></h2>
<br />
<br />
</div>
<div style="clear:both"></div>
</div>
<div class="dCenter dBody" style="padding-left:72px">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-6343250634002651";
/* <20>ײ<EFBFBD> */
google_ad_slot = "0599809152";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript">
</script>
</div>
<div id="footer" class="dCenter">&copy; 2010 <a href="mailto:smallcarrot@163.com">My97</a> All Rights Reserved.&nbsp;&nbsp;&nbsp;&nbsp;<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F489957c212e14340592fb2e4921b2f1d' type='text/javascript'%3E%3C/script%3E"));
</script>&nbsp;&nbsp;&nbsp;&nbsp;<EFBFBD><EFBFBD>ICP<EFBFBD><EFBFBD>11060275<EFBFBD><EFBFBD>
</div>
</body>
</html>