- 博客(170)
- 收藏
- 关注
原创 精通 CSS+DIV 网页样式与布局 170
else //非日期 lObj = ”; document.write( yDisplay + lObj ); } var Today = new Date(); var tY = Today.getFullYear(); var tM = Today.getMonth(); var tD = Today.getDate(); drawCld(tY,tM,tD); //可传入任意日期
2016-12-29 16:48:57
409
原创 精通 CSS+DIV 网页样式与布局 169
this.d = dayEaster.getUTCDate(); } /////////////////////////////////////////////////////////////////////////////// var cld; function drawCld(SY,SM,sD) { var s1,s2,s3,s4,s5,lObj=”,yDisplay; cld =
2016-12-29 16:48:23
436
原创 精通 CSS+DIV 网页样式与布局 168
for(i in lFtv) if(lFtv[i].match(/^(\d{2})(.{2})([\s*])(.+)/)) { tmp1=Number(RegExp./)) { tmp1=Number(RegExp.1)-firstLM; if(tmp1==-11) tmp1=1; if(tmp1 >=0 && tmp1<n) { tmp2 = lDPOS[tmp1] + Number
2016-12-29 16:48:00
384
原创 精通 CSS+DIV 网页样式与布局 167
if(m==1 && (i+1)==term2) cY=cyclical(y-1900+36); //依节气月柱, 以「节」为界 if((i+1)==firstNode) cM = cyclical((y-1900)*12+m+13); //日柱 cD = cyclical(dayCyclical+i); this[i] = new calElement(y, m+1, i+1, nStr
2016-12-29 16:47:37
477
原创 精通 CSS+DIV 网页样式与布局 166
*/ function calendar(y,m) { var sDObj, lDObj, lY, lM, lD=1, lL, lX=0, tmp1, tmp2, tmp3; var cY, cM, cD; //年柱,月柱,日柱 var lDPOS = new Array(3); var n = 0; var firstLM = 0; sDObj = new Date(y,m,1,0,
2016-12-29 16:47:13
248
原创 精通 CSS+DIV 网页样式与布局 165
calElement(sYear,sMonth,sDay,week,lYear,lMonth,lDay,isLeap,cYear,cMonth,cDay) { this.isToday = false; //国历 this.sYear = sYear; //西元年 4 位数字 this.sMonth = sMonth; //西元月数字 this.sDay = sDay; //西元日数字
2016-12-29 16:46:51
241
原创 精通 CSS+DIV 网页样式与布局 164
this.year = i; leap = leapMonth(i); //闰哪个月 this.isLeap = false; for(i=1; i<13 && offset>0; i++) { //闰月 if(leap>0 && i==(leap+1) && this.isLeap==false) { –i; this.isLeap = true; temp = leapDays(th
2016-12-29 16:46:25
419
原创 精通 CSS+DIV 网页样式与布局 163
日期计算**/ //====================================== 传回农历 y 年的总天数 function lYearDays(y) { var i, sum = 348; for(i=0x8000; i>0x8; i>>=1) sum += (lunarInfo[y-1900] & i)? 1: 0; return(sum+leapDays(y));
2016-12-29 16:46:00
384
原创 精通 CSS+DIV 网页样式与布局 162
while (true) { if (n < 0) break; // 获取 NongliData[m] 的第 n 个二进制位的值 bit = (NongLiData[m] >>> n) % 2; if (TheDate <= 29 + bit) { isEnd = 1; break; } TheDate -= 29 + bit; n –; } if (isEnd == 1)
2016-12-29 16:45:36
303
原创 精通 CSS+DIV 网页样式与布局 161
“); var MonName = new Array(“*”, // 农历月份名 “正”, “二”, “三”, “四”, “五”, “六”, “七”, “八”, “九”, “十”, “冬”, “腊”); var MonthAdd = new Array( // 公历每月前面的天 数 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334
2016-12-29 16:45:09
291
原创 精通 CSS+DIV 网页样式与布局 160
“0110 黑人日”, “0520 母亲节”, “0530 全国助残日”, “0630 父亲节”, “0911 劳动节”, “0932 国际和平日”, “0940 国际聋人节”, “0950 世界海事日”, “1011 国际住房日”, “1144 感恩节” ); //农历节日 var lFtv = new Array( “0101 春节”, “0115 元宵节”, “0
2016-12-29 16:44:43
274
原创 精通 CSS+DIV 网页样式与布局 159
“0801 建军节”, “0815 日本投降日”, “0908 国际扫盲日”, “0910 中国教师节”, “0914 清洁地球日”, “0916 臭氧层保护日”, “0918 九一八纪念”, “0920 国际爱牙日”, “0927 世界旅游日”, “1001 国庆节”, “1004 世界动物日”, “1008 全国高血压日”, “1008 世界视觉日”, “1009 世界
2016-12-29 16:44:19
304
原创 精通 CSS+DIV 网页样式与布局 158
//公历节日,*表示放假 var sFtv = new Array( “0101 元旦”, “0202 世界湿地日”, “0207 声援南非日”, “0210 国际气象节”, “0214 情人节”, “0301 国际海豹日”, “0303 全国爱耳日”, “0308 国际妇女节”, “0312 植树节”, “0314 国际警察日”, “0315 消费者权益日”, “0317
2016-12-29 16:43:53
296
原创 精通 CSS+DIV 网页样式与布局 157
2,0x04970, 0x06566,0x0d4a0,0x0ea50,0x06e95,0x05ad0,0x02b60,0x186e3,0x092e0,0x1c8d 7,0x0c950, 0x0d4a0,0x1d8a6,0x0b550,0x056a0,0x1a5b4,0x025d0,0x092d0,0x0d2b2,0x0a95 0,0x0b557, 0x06ca0,0x0b550,0x153
2016-12-29 16:43:33
539
原创 精通 CSS+DIV 网页样式与布局 156
} currentDate=new Date(); with (currentDate){ year=getYear(); day=getDay(); month=getMonth()+1; if(year >= 2000) document.write(getYear()+’年’+month+’月’+getDate()+’日’); if(year <= 99) document.
2016-12-29 16:43:01
331
原创 精通 CSS+DIV 网页样式与布局 155
document.write(constellation[5]); else document.write(constellation[6]); break; case 7: if (day < 23) document.write(constellation[6]); else document.write(constellation[7]); break; case 8:
2016-12-29 16:35:03
277
原创 精通 CSS+DIV 网页样式与布局 154
} Date.js //isaac at Feb 23 2005 11:31 function astrology(month,day){ document.write(‘<a href=”/frames.html?mainurl=/bbsdoc.php?board=birthday” class=”astro” title=”点击进入 birthday 版”>’); var cons
2016-12-29 16:34:40
302
原创 精通 CSS+DIV 网页样式与布局 153
margin:0px; list-style-type:none; }newnode li{line-height:18px; padding-left:15px; background:url(arrow6.gif) no-repeat 0px 5px; }newnode{background:url(newnode.jpg) no-repeat; padding:0px; mar
2016-12-29 16:34:17
205
原创 精通 CSS+DIV 网页样式与布局 152
color:#c86615; font-size:12px; height:15px; padding:0px; }logoin #per1 input.textinput1,#logoin #per2 input.textinput2{background-color:#000000; border:1px solid #c86615; color:#c86615; font-siz
2016-12-29 16:33:45
175
原创 精通 CSS+DIV 网页样式与布局 151
blogsearch li#sear1 input{background-color:#000000; border:1px solid #c86615; color:#c86615; font-size:12px; height:15px; padding:0px; margin-right:8px; }blogsearch #sear3 input,#blogsearch #sea
2016-12-29 16:31:51
246
原创 精通 CSS+DIV 网页样式与布局 150
currenttime p a.astro:link, #currenttime p a.astro:visited{color:#76c7ff; font-size:12px; text-decoration:none; }currenttime p a.astro:hover{color:#DDDD00; font-size:12px; text-decoration:underlin
2016-12-29 16:31:30
146
原创 精通 CSS+DIV 网页样式与布局 149
recommendblog span a:hover{color:#CCCC00; text-decoration:underline; padding-left:10px; font-weight:bold; }recommendblog span a.author2{font-weight:lighter; }recommendblog span a.author2:link{colo
2016-12-29 16:31:05
427
原创 精通 CSS+DIV 网页样式与布局 148
font-size:12px; text-decoration:none; }mainsupport li a.author2:visited{color:#cb9a32; font-size:12px; text-decoration:none; }mainsupport li a.author2:hover{color:#8a8a8a; font-size:12px; text-d
2016-12-29 16:30:42
194
原创 精通 CSS+DIV 网页样式与布局 147
}lstatistics li{text-align:left; padding-left:18px; line-height:18px; background:url(arrow1.gif) no-repeat 7px 5px; }lhotblog li{text-align:left; padding-left:16px; line-height:17px; background:
2016-12-29 16:30:18
216
原创 精通 CSS+DIV 网页样式与布局 146
parameter a.author1:link{color:#d8924d; font-size:12px; text-decoration:none; }parameter a.author1:visited{color:#b37941; font-size:12px; text-decoration:none; }parameter a.author1:hover{color:#7
2016-12-29 16:29:54
176
原创 精通 CSS+DIV 网页样式与布局 145
width:30px; }globallink a:link, #globallink a:visited{color:#FFFFFF; text-decoration:none; }globallink a:hover{color:#000000; text-decoration:none; }parameter{position:relative; float:left; /* 左
2016-12-29 16:28:23
257
原创 精通 CSS+DIV 网页样式与布局 144
footer a:hover{color:#222222; font-size:12px; text-decoration:none; } /* 交河故城 */ body{ background:url(body_bg.jpg) repeat-y center; /* 页面的两条竖线 */ background-color:#000000; margin: 0px; padding
2016-12-29 16:28:01
253
原创 精通 CSS+DIV 网页样式与布局 143
padding-left:48px; padding-right:5px; padding-bottom:0px; padding-top:6px; text-align:left; margin:0px; }newnode li{line-height:18px; padding-left:9px; background:url(arrow6.gif) no-repeat 0px
2016-12-29 16:27:34
191
原创 精通 CSS+DIV 网页样式与布局 142
background:url(arrow5.gif) no-repeat 8px 8px; }logoin #per input{background-color:#643c1a; border:1px solid #c86615; color:#c86615; font-size:12px; height:15px; padding:0px; }logoin #per1 input.
2016-12-29 16:27:11
203
原创 精通 CSS+DIV 网页样式与布局 141
blogsearch li{float:left; line-height:22px; }blogsearch li#sear1 input{background-color:#643c1a; border:1px solid #c86615; color:#c86615; font-size:12px; height:15px; padding:0px; margin-right:
2016-12-29 16:25:21
226
原创 精通 CSS+DIV 网页样式与布局 140
currenttime p a.astro:visited{color:#c17200; font-size:12px; text-decoration:none; }currenttime p a.astro:hover{color:#D2D258; font-size:12px; text-decoration:underline; }currenttime ul{padding-l
2016-12-29 16:24:57
192
原创 精通 CSS+DIV 网页样式与布局 139
position:absolute; left:365px; font-weight:lighter; }recommendblog span a.author2:link{color:#d5503f; text-decoration:none; }recommendblog span a.author2:visited{color:#d5503f; text-decoration:no
2016-12-29 16:24:34
263
原创 精通 CSS+DIV 网页样式与布局 138
recommendblog br, #currenttime br, #blogsearch br,#logoin br.br2{display:none; clear:both; }recommendblog{width:387px; height:121px; background:url(recommendblog.jpg) no-repeat; margin:0px; paddi
2016-12-29 16:24:13
359
原创 精通 CSS+DIV 网页样式与布局 137
}mainsupport{float:left; position:relative; color:#c86615; font-size:12px; margin:0px; padding-left:118px; /* 空出左边的字画 */ width:397px; }mainsupport h3 span,#mainsupport h3{display:none; }mainsup
2016-12-29 16:23:46
174
原创 精通 CSS+DIV 网页样式与布局 136
lhotblog h3{background:url(lhotblog.jpg) no-repeat; }lrecent h3{background:url(lrecent.jpg) no-repeat; }lapply h3{background:url(lapply.jpg) no-repeat; }lhotblog span a, #lrecent span a, #lapply spa
2016-12-29 16:23:24
221
原创 精通 CSS+DIV 网页样式与布局 135
parameter h3 span{display:none; }parameter h3{height:27px; width:163px; padding:0px; margin:0px; }parameter br{clear:both; display:none; }parameter div{margin-bottom:15px; }parameter a:link{color
2016-12-29 16:22:57
300
原创 精通 CSS+DIV 网页样式与布局 134
globallink{width:798px; height:320px; margin:0px; background-image:url(banner.jpg); /* banner 图片 */ background-repeat:no-repeat; font-size:12px; padding-bottom:40px; }globallink ul{list-style-t
2016-12-29 16:22:33
212
原创 精通 CSS+DIV 网页样式与布局 133
text-align:center; color:#226c81; padding-bottom:20px; margin:0px; padding-top:20px; background-color:#ebf7ff; }footer p{margin:0px; padding-top:10px; background-color:#ebf7ff; }footer a:link{
2016-12-29 16:22:10
235
原创 精通 CSS+DIV 网页样式与布局 132
}recommendart br, #newnode br{clear:both; }recommendart ul{padding-left:15px; padding-right:5px; padding-bottom:10px; text-align:left; margin-top:5px; margin-left:0px; margin-right:0px; margin-
2016-12-29 16:20:54
187
原创 精通 CSS+DIV 网页样式与布局 131
}logoin ul#per li{float:left; line-height:23px; padding-left:15px; padding-top:3px; margin:0px; background:url(arrow5.gif) no-repeat 8px 10px; }logoin #per input{background-color:#FFFFFF; border
2016-12-29 16:20:33
1483
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人