|
|
Ŭ¶ó¿ìµåű×
Javascript PHP asp CSS html mysql jquery image Mobile API slide °Ô½ÃÆÇ ¸Þ´º
|
|
|
ÇöÀçÁ¢¼ÓÀÚ ¸í |
|
|
|
|
|
|
|
2003³â±îÁö ¸îÀÏ ³²¾ÒÁö! |
|
|
|
|
¼Ò½ººÐ·ù |
½Ã°£,³¯Â¥ |
|
|
´Ù¿î·Îµå Ƚ¼ö |
704 ȸ |
|
|
|
°£´Ü¼³¸í |
ƯÁ¤ ³âµµ±îÁöÀÇ ³²Àº ³¯Â¥¸¦ °è»êÇØ ÁÖ´Â ½ºÅ©¸³Æ®ÀÔ´Ï´Ù. |
|
|
|
|
|
<script language="javascript"><br />
<!--<br />
function day_title(day_name) {<br />
document.write("<TD ALIGN=center WIDTH=35>"+day_name+"</TD>")<br />
}<br />
function hilite_today(day,mm) {<br />
if ((this_day == day) && (this_month == mm))<br />
document.write("<FONT COLOR="#FF0000">")<br />
}<br />
function makeArray(n) {<br />
this.length=n;<br />
for (var i = 1; i <= n; i++)<br />
this[i] = 0<br />
return this<br />
}<br />
function fill_table(m_name,m_length,mm) {<br />
day=1<br />
document.write("<center><TABLE BORDER=3 CELLSPACING=3 CELLPADDING=%3><TR>")<br />
document.write("<TD COLSPAN=7 ALIGN=center><B>"+m_name+" "+this_year+"</B><TR>")<br />
day_title("Sun")<br />
day_title("Mon")<br />
day_title("Tue")<br />
day_title("Wed")<br />
day_title("Thu")<br />
day_title("Fri")<br />
day_title("Sat")<br />
document.write("</TR><TR>")<br />
for (var i=1;i<start_day;i++) {<br />
document.write("<TD>")<br />
}<br />
for (var i=start_day;i<8;i++) {<br />
document.write("<TD ALIGN=center>")<br />
hilite_today(day,mm)<br />
document.write(day+"</TD><FONT COLOR=``#000000``>")<br />
day++;<br />
}<br />
document.write("<TR>")<br />
while (day <= m_length) {<br />
for (var i=1;i<=7 && day<=m_length;i++) {<br />
document.write("<TD ALIGN=center>")<br />
hilite_today(day,mm)<br />
document.write(day+"</TD><FONT COLOR=``#000000``>")<br />
day++<br />
}<br />
document.write("</TR><TR>")<br />
}<br />
document.write("</TR></TABLE></center><BR>")<br />
start_day = i<br />
}<br />
// End --><br />
</script>
<SCRIPT LANGUAGE="JavaScript"><br />
month=new makeArray(12)<br />
month[1]="January"<br />
month[2]="February"<br />
month[3]="March"<br />
month[4]="April"<br />
month[5]="May"<br />
month[6]="June"<br />
month[7]="July"<br />
month[8]="August"<br />
month[9]="September"<br />
month[10]="October"<br />
month[11]="November"<br />
month[12]="December"<br />
month_length = new makeArray(12)<br />
month_length[1]=31<br />
month_length[2]=28<br />
month_length[3]=31<br />
month_length[4]=30<br />
month_length[5]=31<br />
month_length[6]=30<br />
month_length[7]=31<br />
month_length[8]=31<br />
month_length[9]=30<br />
month_length[10]=31<br />
month_length[11]=30<br />
month_length[12]=31<br />
today = new Date()<br />
this_day = today.getDate()<br />
this_month = today.getMonth()+1<br />
this_year = today.getYear();<br />
if (this_year < 2000) // Y2K Fix, Isaac Powell<br />
this_year = this_year + 1900; // http://onyx.idbsu.edu/~ipowell<br />
month_length[2] = (((this_year % 4 == 0) && (this_year % 100 != 0)) || (this_year % 400 == 0)) ? 29 : 28;<br />
begin_date = new Date("January 1, 19"+this_year)<br />
start_day = begin_date.getDay()+1<br />
if (start_day == 1){ <br />
start_day = 8<br />
}<br />
for (var m = 1;m<=12;m++){<br />
fill_table(month[m],month_length[m],m)<br />
}<br />
</SCRIPT>
|
|
³×ƼÁð ÀÇ°ß ÀÌ¿ëÇϽŠÀÚ·áÀÇ Èı⸦ ÀÚÀ¯·Ó°Ô ÀÛ¼ºÇϼ¼¿ä. (»ó¾÷ÀûÀÎ ±¤°í ¹× µµ¹è¼º ±Û µîÀº »çÀüÅ뺸¾øÀÌ »èÁ¦µÉ ¼ö ÀÖ½À´Ï´Ù.) |
|