css如何自己制作日历

html-css052

css如何自己制作日历,第1张

日历和时间代码:(加在空白处)

#header div.lc{background:url(http://danjo.ca/cgi-sys/Count.cgi?display=date&dformat=yymmdd&ft=0&dd=cd&timezone=GMT+0800) no-repeat 95% 30% !importantfilter:Chroma(Color="#EE0000")DropShadow(Color=gray, OffX=3, OffY=3, Positive=true) !important}/*日期*/

#header div.rc{background:url(http://danjo.ca/cgi-sys/Count.cgi?display=clock&tformat=24&ft=0&dd=cd&timezone=GMT+0800) no-repeat 95% 60%}

.stage{background:url() } /*时间*/

dayClick: function(date, allDay, jsEvent, view) {

$(this).css('background-color', 'red')

var clickDate = view.calendar.formatDate(date,'yyyyMMdd')

window.location="${base}/admin/manager/holiday/save.action?holiday.date="+clickDate

},

保存可以考虑用异步