66 lines
1.6 KiB
HTML
66 lines
1.6 KiB
HTML
<html>
|
||
<head>
|
||
<meta http-equiv="content-type" content="text/xml; charset=gb2312" />
|
||
<title>My97DatePicker</title>
|
||
<script src="config.js" charset=gb2312></script>
|
||
<script>
|
||
//var l = location;
|
||
if(parent==window)
|
||
location.href = 'http://www.my97.net';
|
||
/*
|
||
else{
|
||
var start=l.href.indexOf('#')+1;
|
||
if(start>0){
|
||
document.domain = l.href.substr(start);
|
||
}
|
||
}
|
||
*/
|
||
var $d, $dp, $pdp = parent.$dp, $dt, $tdt, $sdt, $lastInput, $IE=$pdp.ie, $FF = $pdp.ff,$OPERA=$pdp.opera, $ny, $cMark = false;
|
||
|
||
//˵<><CBB5><EFBFBD><EFBFBD>flat<61><74>ʱ,<2C><><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>$dp
|
||
if ($pdp.eCont) {
|
||
$dp = {};
|
||
for (var p in $pdp) {
|
||
$dp[p] = $pdp[p];
|
||
}
|
||
}
|
||
else{
|
||
$dp = $pdp;
|
||
}
|
||
|
||
$dp.getLangIndex = function(name){
|
||
var arr = langList;
|
||
for (var i = 0; i < arr.length; i++) {
|
||
if (arr[i].name == name) {
|
||
return i;
|
||
}
|
||
}
|
||
return -1;
|
||
}
|
||
|
||
$dp.getLang = function(name){
|
||
var index = $dp.getLangIndex(name);
|
||
if (index == -1) {
|
||
index = 0;
|
||
}
|
||
return langList[index];
|
||
}
|
||
|
||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
$dp.realLang = $dp.getLang($dp.lang);
|
||
document.write("<script src='lang/" + $dp.realLang.name + ".js' charset='" + $dp.realLang.charset + "'><\/script>");
|
||
|
||
//<2F><><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD>б<EFBFBD><D0B1>ļ<EFBFBD>
|
||
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"/>');
|
||
}
|
||
|
||
</script>
|
||
<script src="calendar.js" charset="gb2312"></script>
|
||
</head>
|
||
<body leftmargin="0" topmargin="0" onLoad="$c.autoSize()" tabindex=0>
|
||
</body>
|
||
</html>
|
||
<script>
|
||
new My97DP();
|
||
</script> |