先申明下,主要是因为公司能上的网络很有限,反正就是其他方法我基本有 *** ,我在家写了点东西要到公司电脑上,没办法,发到这里来了,老大后天之前千万不要删啊?
< !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 ) ;
会员注册
会员登录
个人空间
发表评论