if(cld[sD].isToday) sObj.className = 'todyaColor';
sObj.style.color = cld[sD].color;
if(cld[sD].isToday)
sObj.parentNode.style.background = '#C0FFC0'; // 修改今天的单元格的背景色
if(cld[sD].lDay==1)
lObj.innerHTML = '<b>'+(cld[sD].isLeap?'闰':'') + cld[sD].lMonth + '月' + (monthDays(cld[sD].lYear,cld[sD].lMonth)==29?'小':'大')+'</b>';
else
lObj.innerHTML = cDay(cld[sD].lDay);
欢迎光临 批处理之家 (http://bathome.net./) | Powered by Discuz! 7.2 |