¹Î¹Ì³× Áý
óÀ½À¸·Î °©´Ï´Ù.
¸ÞÀÎÆäÀÌÁö
¹Î ¹Ì ¼Ò °³
¹Î¼öÀϱâÀå
¹ÌÁ¤ÀϱâÀå
Ãßõ»çÀÌÆ®
ű×ÀÚ·á½Ç
ű׿¬½ÀÀå



  
  ¸ÚÁø ¹Ì´Ï´Þ·Â/ÆûÀ» ¸¶¿ì½º·Î Ŭ¸¯ÇÏ¸é ´Þ·ÂÀÌ ³ªÅ¸³ª..
  
    
  2008-06-18 18:52:21   2448 

<html>
<head>
<title>YouJung`sscript</title>
<meta http-equiv="Content-Type" content="text/html; charset=ks_c_5601-1987">
<meta http-equiv="Content-Language" content="ko">
<meta http-equiv="Expires" content="0">
<style>
<!--
#minical {background : buttonface; margin: 5; margin-top: 2;
border-top: 1 solid buttonhighlight;
border-left: 1 solid buttonhighlight;
border-right: 1 solid buttonshadow;
border-bottom: 1 solid buttonshadow;
width:155;display:none;position: absolute; z-index: 99}
-->
</style>
<script type="text/javascript">
var target;

function MiniCal(jucke) {
target=jucke
x = (document.layers) ? loc.pageX : event.clientX;
y = (document.layers) ? loc.pageY : event.clientY;
minical.style.pixelTop = y-0;
minical.style.pixelLeft = x-50;
minical.style.display = (minical.style.display == "block") ? "none" : "block";
Show_cal(0,0,0)
}
var stime
function doOver() {
var el = window.event.srcElement;
cal_Day = el.title;

if (cal_Day.length > 7) {
el.style.borderTopColor = el.style.borderLeftColor = "buttonhighlight";
el.style.borderRightColor = el.style.borderBottomColor = "buttonshadow";
}
window.clearTimeout(stime);
}
function doClick() {
cal_Day = window.event.srcElement.title;
window.event.srcElement.style.borderColor = "red";
if (cal_Day.length > 7) {
target.value=cal_Day
}
}
function doOut() {
var el = window.event.fromElement;
cal_Day = el.title;

if (cal_Day.length > 7) {
el.style.borderColor = "white";
}
stime=window.setTimeout("minical.style.display='none';", 200);
}

</script>

<script Language="Vbscript">
Function Show_cal(sYear,sMonth,sDay)
document.all.minical.innerHTML=""
datToday=date()

intThisYear = cint("0"&sYear) '³âµµ³Ñ°Ü¹Þ±â
intThisMonth= cint("0"&sMonth) '¿ù ³Ñ°Ü¹Þ±â
intThisDay = cint("0"&sDay)

if intThisYear =0 then intThisYear=Year(datToday) '¸¸¾à ³âµµ¿Í ¿ù°ªÀ» ³Ñ°Ü¹ÞÁö ¾Ê¾Ò´Ù¸é ÇöÀç ³âµµ¸¦ ³âµµ º¯¼ö¿¡
if intThisMonth =0 then intThisMonth=Month(datToday) ' ÇöÀç ¿ùÀ» ¿ù º¯¼ö¿¡
if intThisDay =0 then intThisDay=day(datToday) '¿À´Ã ³¯Â¥

if intThisMonth=1 then
intPrevYear=intThisYear-1
intPrevMonth=12
intNextYear=intThisYear
intNextMonth=2
elseif intThisMonth=12 then
intPrevYear=intThisYear
intPrevMonth=11
intNextYear=intThisYear + 1
intNextMonth=1
else
intPrevYear=intThisYear
intPrevMonth=intThisMonth -1
intNextYear=intThisYear
intNextMonth=intThisMonth+1
end if

NowThisYear=Year(datToDay) ' ÇöÀ翬µµ°ª
NowThisMonth=Month(datToday) 'ÇöÀç ¿ù°ª
NowThisDay=Day(datToday) '¿À´Ã ³¯Â¥ °ª

datFirstDay=DateSerial(intThisYear, intThisMonth, 1) '³Ñ°Ü¹ÞÀº ³¯Â¥ÀÇ ¿ùÃʱⰪ ÆľÇ
intFirstWeekday=Weekday(datFirstDay, vbSunday) '³Ñ°Ü¹ÞÀº ³¯Â¥ÀÇ ÁÖÃʱⰪ ÆľÇ
intSecondWeekday=intFirstWeekday
intThirdWeekday=intFirstWeekday

datThisDay=cdate(intThisYear&"-"&intThisMonth&"-"&intThisDay)
intThisWeekday=Weekday(datThisDay)

Select Case intThisWeekday
Case 1 varThisWeekday="ÀÏ"
Case 2 varThisWeekday="¿ù"
Case 3 varThisWeekday="È­"
Case 4 varThisWeekday="¼ö"
Case 5 varThisWeekday="¸ñ"
Case 6 varThisWeekday="±Ý"
Case 7 varThisWeekday="Åä"
End Select

intPrintDay=1 'Ãâ·Â ÃʱâÀÏ °ªÀº 1ºÎÅÍ
secondPrintDay=1
thirdPrintDay=1

Stop_Flag=0

if intThisMonth=4 or intThisMonth=6 or intThisMonth=9 or intThisMonth=11 then '¿ù¸» °ª °è»ê
intLastDay=30
elseif intThisMonth=2 and not (intThisYear mod 4) = 0 then
intLastDay=28
elseif intThisMonth=2 and (intThisYear mod 4) = 0 then
if (intThisYear mod 100) = 0 then
if (intThisYear mod 400) = 0 then
intLastDay=29
else
intLastDay=28
end if
else
intLastDay=29
end if
else
intLastDay=31
end if

if intPrevMonth=4 or intPrevMonth=6 or intPrevMonth=9 or intPrevMonth=11 then '¿ù¸» °ª °è»ê
intPrevLastDay=30
elseif intPrevMonth=2 and not (intPrevYear mod 4) = 0 then
intPrevLastDay=28
elseif intPrevMonth=2 and (intPrevYear mod 4) = 0 then
if (intPrevYear mod 100) = 0 then
if (intPrevYear mod 400) = 0 then
intPrevLastDay=29
else
intPrevLastDay=28
end if
else
intPrevLastDay=29
end if
else
intPrevLastDay=31
end if

Stop_Flag=0
Cal_HTML=Cal_HTML& "<table border=0 cellpadding=1 cellspacing=1 onmouseover='doOver()' onmouseout='doOut()' onclick='doClick()' style='font-size : 12;font-family:±¼¸²;'>"
Cal_HTML=Cal_HTML& "<tr align=center>"
Cal_HTML=Cal_HTML& "<td align=left title='ÀÌÀü´Þ' style='cursor:hand;' OnClick='vbscript:call Show_cal("&intPrevYear&","&intPrevMonth&",1)'><font color=navy size=2><<</font></td>"
Cal_HTML=Cal_HTML& "<td colspan=5><font color=red><b>"
Cal_HTML=Cal_HTML& intThisYear&"³â "&intThisMonth&"¿ù"
Cal_HTML=Cal_HTML& "</font></b></td>"
Cal_HTML=Cal_HTML& "<td align=right title='´ÙÀ½´Þ' style='cursor:hand;' OnClick='vbscript:call Show_cal("&intNextYear&","&intNextMonth&",1)'><font color=navy size=2>>></font></a></td>"
Cal_HTML=Cal_HTML& "</tr>"
Cal_HTML=Cal_HTML& "<tr align=center bgcolor=navy style='color:white; font-weight:bold'>"
Cal_HTML=Cal_HTML& "<td>ÀÏ</td><td>¿ù</td><td>È­</td><td>¼ö</td><td>¸ñ</td><td>±Ý</td><td>Åä</td>"
Cal_HTML=Cal_HTML& "</tr>"

FOR intLoopWeek=1 to 6 'ÁÖ´ÜÀ§ ·çÇÁ ½ÃÀÛ, ÃÖ´ë 6ÁÖ

Cal_HTML=Cal_HTML& "<tr align=right valign=top bgcolor=white >"
for intLoopDay=1 to 7 '¿äÀÏ´ÜÀ§ ·çÇÁ ½ÃÀÛ, ÀÏ¿äÀϺÎÅÍ

if intThirdWeekDay > 1 then 'ùÁÖ½ÃÀÛÀÏÀÌ 1º¸´Ù Å©¸é
Cal_HTML=Cal_HTML& "<td> </td>"
intThirdWeekDay=intThirdWeekDay-1
else
if thirdPrintDay > intLastDay then 'ÀԷ³¯Â¥°¡ ¿ù¸»º¸´Ù Å©´Ù¸é
Cal_HTML=Cal_HTML& "<td> </td>"
else 'ÀԷ³¯Â¥°¡ ÇöÀç¿ù¿¡ ÇØ´çµÇ¸é
Cal_HTML=Cal_HTML& "<td title='"&intThisYear&"-"&intThisMonth&"-"&thirdPrintDay&"' style='cursor: hand;border: 1px solid white;width:18; height:18;"if intThisYear-NowThisYear=0 and intThisMonth-NowThisMonth=0 and thirdPrintDay-intThisDay=0 then '¿À´Ã ³¯Â¥À̸éÀº ±Û¾¾ÆùÆ®¸¦ ´Ù¸£°ÔCal_HTML=Cal_HTML& "background-color:cyan;"end ifif intLoopDay=1 then 'ÀÏ¿äÀÏÀÌ¸é »¡°£ »öÀ¸·ÎCal_HTML=Cal_HTML& "color:red;"else ' ±×¿ÜÀÇ °æ¿ìCal_HTML=Cal_HTML& "color:black;"end ifCal_HTML=Cal_HTML& "'>"&thirdPrintDay
end if
thirdPrintDay=thirdPrintDay+1 '³¯Â¥°ªÀ» 1 Áõ°¡

if thirdPrintDay > intLastDay then Stop_Flag=1 '¸¸¾à ³¯Â¥°ªÀÌ ¿ù¸»°ªº¸´Ù Å©¸é ·çÇÁ¹® Å»Ãâ

end if
Cal_HTML=Cal_HTML& "</td>"
next
Cal_HTML=Cal_HTML& "</tr>"
if Stop_Flag=1 then EXIT FOR
NEXT
Cal_HTML=Cal_HTML& "</table>"
Cal_HTML=Cal_HTML& ""
Cal_HTML=Cal_HTML& ""
document.all.minical.innerHTML=Cal_HTML
END Function
</script>

</head>
<body style="font:menu">
<div id=minical OnClick="this.style.display='none';" oncontextmenu='return false' ondragstart='return false' onselectstart='return false' style="background : buttonface; margin: 5; margin-top: 2;border-top: 1 solid buttonhighlight;border-left: 1 solid buttonhighlight;border-right: 1 solid buttonshadow;border-bottom: 1 solid buttonshadow;width:155;display:none;position: absolute; z-index: 99"></div>
<input type=text value="Ŭ¸¯ÇÏ¸é ´Þ·ÂÀÌ ³ª¿Í¿ä!" size=22 OnClick="MiniCal(this);" readonly style="text-align:center; font:menu">




  ¸ÚÁø ¹Ì´Ï´Þ·Â/ÆûÀ» ¸¶¿ì½º·Î Ŭ¸¯ÇÏ¸é ´Þ·ÂÀÌ ³ªÅ¸³ª..   2008/06/18 2448
21   Æ¯Á¤ÀÏÀÇ ³²Àº ³¯Â¥ ³ªÅ¸³»±â (±â³äÀÏ Ä«¿îÆ®´Ù¿î)   2008/06/18 2291
20   META ű×ÀÇ ¼Ó¼º   2008/06/18 1792
19   À̹ÌÁö ½½¶óÀÌµå ¾¤ 2   2008/06/18 1681
18   ÀÚµ¿ÁÙ¹Ù²Þ (valign=top)°ú pre   2009/04/09 1641
17   ±ÛÀÚ°¡ °¡¿îµ¥¿¡¼­ Æ¢¾î ³ª¿À´Â ¼Ò½º   2008/06/18 1638
16   mp3ÆÄÀϺ¯È¯/À½ÁúÀº ³·Ãß°í È®ÀåÀÚ¿£ ¿µÇâ¾ÈÁÖ´Â ÇÁ·Î±×·¥   2008/06/19 1621
15   À̹ÌÁö ½½¶óÀÌµå ¾¤ 1   2008/06/18 1620
14   alpha filte ÀÇ »ç¿ë¹ý   2009/06/07 1606
13   ¸µÅ© ¹ØÁÙ ¾ø¾Ö±â   2008/06/18 1602
12   Å×ÀÌºí ¸¸µé±â   2008/06/28 1599
11   Æ÷Åä»ð °­Á / 67°¡Áö [Æß]   2008/06/28 1566
10   Ã¥°¥ÇÇ°¡ ÀÖ´Â ½Ã   2008/06/18 1565
9   Å×ÀÌºí¿¡µµ ±×¶óµ¥ÀÌ¼Ç È¿°ú¸¦ ÁÙ ¼ö ÀÖ´Ù.   2010/01/05 1564
8   ¸Þ´º   2009/04/28 1554
7   À©µµ¿ì XP ÆÁ ¸ðÀ½   2008/06/18 1552
6   ¿¹»Û ¸Þ´ºÆÇ   2008/06/18 1542
5   ÅؽºÆ®¸¦ ¼¼·Î·Î   2010/01/05 1522
4   À̹ÌÁö¿¡ ¼¶±¤ÁÖ±â   2010/01/05 1490
3   alpha filte ÀÇ »ç¿ë¹ý   2009/06/07 1443

1 [2]
 

Copyright 1999-2024 Zeroboard / skin by Mely

Copyright (c) 2002 MinMi. All rights Reserved.