?
快捷搜索:  as  test  1111  test aNd 8=8  test++aNd+8=8  as++aNd+8=8  as aNd 8=8

和記娛博網站:一個非常漂亮的腳本日歷時間日期特效

?

var months = new Array("一", "二", "三","四", "五", "六", "七", "八", "九","十", "十一", "十二");

var daysInMonth = new Array(31, 28, 31, 30, 31, 30, 31, 31,30, 31, 30, 31);

var days = new Array("日","一", "二", "三","四", "五", "六");

var classTemp;

var today=new getToday();

var 和記娛博網站year=today和記娛博網站.year;

var month=today.month;

var newCal;

function getDays(month, year) {

if (1 == month) return ((0 == year % 4) && (0 != (year % 100))) ||(0 == year % 400) ? 29 : 28;

else return daysInMonth[month];

}

function getToday() {

this.now = new Date();

this.year = this.now.getFullYear();

this.month = this.now.getMonth();

this.day = this.now.getDate();

}

function Calendar() {

newCal = new Date(year,month,1);

today = new getToday();

var day = -1;

var startDay = newCal.getDay();

var endDay=getDays(newCal.getMonth(), newCal.getFullYear());

var daily = 0;

if ((today.year == newCal.getFullYear()) &&(today.month == newCal.getMonth()))

{

day = today.day;

}

var caltable = document.all.和記娛博網站caltable.tBodies.calendar;

var intDaysInMonth =getDays(newCal.getMonth(), newCal.getFullYear());

for (var intWeek = 0; intWeek ";

if(day==daily) cell.className="DayNow";

else if(intDay==6) cell.className = "DaySat";

else if (intDay==0) cell.className ="DaySun";

else cell.className="Day";

if ((daily > 0) && (daily 11)

{

month=0;

year=year+1;

} else

{

month=month+1;

}

Calendar();

}

function setDate()

{

if (document.all.month.value12)

{

alert("月的有效范圍在1-12之間!");

return和記娛博網站;

}

year=Math.ceil(document.all.year.value);

month=Math.ceil(document.all.month.value-1);

Calendar();

}

function buttonOver()

{

var obj = window.event.srcElement;

obj.runtimeStyle.cssText = "background-color:#FFFFFF";

// obj.className="Hover";

}

function buttonOut()

{

var obj = window.event.srcElement;

window.setTimeout(function(){obj.runtimeStyle.cssText = "";},300);

}

Input {font-family: verdana;font-size: 9pt;text-decoration: none;background-color: #FFFFFF;height: 20px;border: 1px solid #666666;color:#000000;}

.Calendar {font-family: verdana;text-decoration: none;width: 170;background-color: #C0D0E8;font-size: 9pt;border:0px dotted #1C6FA5;}

.CalendarTD {font-family: verdana;font-size: 7pt;color: #000000;background-color:#f6f6f6;height: 20px;width:11%;text-align: left;}

.Title {font-family: verdana;font-size: 11pt;font-weight: normal;height: 24px;text-align: left;color: #333333;text-decoration: none;background-color: #A4B9D7;border-和記娛博網站top-width: 1px;border-right-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-bottom-style:1p

免責聲明:以上內容源自網絡,版權歸原作者所有,如有侵犯您的原創版權請告知,我們將盡快刪除相關內容。

您可能還會對下面的文章感興趣:

浙江体彩20选5开奖号 贵州快3开奖结果手机版 福彩3d预测大师最新版本 河北快3走势图-基本走势 福彩26选5开奖 广东十一选五高手推 巨龙配资 3d定胆极精准的方法 2018中超积分榜 幸运飞艇计划全天免费版 股票涨跌原理举例说明 湖北十一选五开奖结果 血战麻将极品是什么 四川快乐12官网下 江西快三开奖结果今天 体彩p3小军网摘版 排列5彩票机选软件