赞助连接

赞助连接

阅 读 文 章

自己写的JS日历暂存,大家也指导下,学JS的作品

[来源:网上转载 (http://bbs.chinaunix.net) | 作者:网友(网络转载) | 时间:2008-08-05 | 浏览: 人次 ]

先申明下,主要是因为公司能上的网络很有限,反正就是其他方法我基本有 *** ,我在家写了点东西要到公司电脑上,没办法,发到这里来了,老大后天之前千万不要删啊?
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" >
< html >
< head >
< link rel = "stylesheet" type = "text/css" href = http://bbs.chinaunix.net/"./style.css" / >
< script type = "text/javascript" src = http://bbs.chinaunix.net/"./calendar.js" > < / script >
< / head >

< body >
< div id = "calendar_main" >
     < div id = "calendar_header" > <!-- 显示星期几那一行 -->
     < input type = "button" id = "calendar_pre_day" value = "<" >

再发一个,再次恳求不要删啊~~

#calendar_main , #calendar_header , #calendar_week #calendar_main_date {

width : 280 *** ;
}

#calendar_main {
border : 2 *** solid black ;
height : 250 *** ;
background - color : # FFFFCC ;
}
#calendar_header {

height : 25 *** ;
background - color : gray ;
}

#calendar_pre_day , #calendar_nex_day , #calendar_select_month , #calendar_select_year {
border : 1 *** solid black ;
}

#calendar_pre_day , #calendar_nex_day
{
width : 20 *** ;
height : 20 *** ;
margin - left : 13 *** ;
margin - top : 2 *** ;
}

#calendar_week
{
background - color : white ;
}

. calendar_week_table {
border - top : 1 *** solid black ;
border - bottom : 1 *** solid black ;
}

. calendar_week_table td , . calendar_main_date_table td {
width : 40 *** ;
font - size : 14 *** ;
text - align : center ;
font - weight : bold ;
}

#calendar_main_date {

}

. calendar_main_date_table td {

}

. calendar_content_block {
border : 1 *** solid #FFCCCC ;
}

. calendar_content_block_nom {
border : 1 *** solid #FFCCCC ;
color : # FF9966 ;
}


function Calendar ( ) {
    this . cur_date = new Date ( ) ;
    this . con_date = new Date ( ) ;

    this . con_date . setMonth ( this . cur_date . getMonth ( ) - 1 ) ;
    this . con_date . setDate ( 0 ) ;
    this . last_date = this . con_date . getDate ( ) ;


    this . con_date . setDate ( 1 ) ;
TAG标签 : 作品 指导 日历 自己 大家 this var w_block con_date

最新评论 共有0位网友发表了评论

发表评论

评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名:(注册)
密码:
验证码:
匿名发表
网站地图友情连接交流论坛网站投稿广告服务联系我们留言本站长统计
Some rights reserved: www.newhtm.com, 鄂ICP备07010232号 E-mail:chinakafei@live.com,QQ:552766
中国咖啡技术网(Chmhome):国外编程技术书籍,中文编程手册,经典编程文章,交流技术,技术软件下载,计算机论文,毕业论文.