
À¥µðÀÚÀÎ °øºÎ¹æ
HTML,PHP °øºÎ¹æ
ÆÁ & Å×Å© °Ô½ÃÆÇ
|
¹øÈ£ : 16 |
ȨÆäÀÌÁö¿¡ ½Ã°è¸¦ ´ÞÀÚ! ½Ã°è¼Ò½ºÀÔ´Ï´Ù~ |
ÀÛ¼ºÀÚ : À̰ÇÈ£  |
ÀÛ¼ºÀÏ : 2005-11-19 19:09:47 |
|
<img src="½Ã°èÀ̹ÌÁöÁÖ¼Ò"
border="0" width=120 height=120>
À§ ºÎºÐÀÇ ½Ã°èÀ̹ÌÁöÁÖ¼Ò´Â ¹Ýµå½Ã ¼öÁ¤ÇØÁÖ¼¼¿ä.
Ãâó : À¢µðÇϿ콺
<head>
<script language="JavaScript">
<!--
var now
var second
var minute
var hour
var degreeSecond
var degreeMinute
var degreeHour
var timer
var stepDegree=6
var stepDegreeHour=30
function checkTime() { // ÇöÀç½Ã°£À» ±¸ÇÕ´Ï´Ù
if (document.all) {
now=new Date()
second=now.getSeconds()
minute=now.getMinutes()
hour=now.getHours()
if (hour>=12) {hour=hour-12}
spinIt()
timer=setTimeout("checkTime()",200)
}
}
function spinIt() { // ½Ã°è ¹Ù´ÃÀ» ¿òÁ÷ÀÔ´Ï´Ù
window.status=hour
secondObj.SetIdentity()
minuteObj.SetIdentity()
hourObj.SetIdentity()
degreeSecond=180+stepDegree*second
degreeMinute=180+stepDegree*minute
degreeHour=180+stepDegreeHour*hour+
(Math.floor(stepDegree*minute/12))
secondObj.Rotate(0,0,degreeSecond)
minuteObj.Rotate(0,0,degreeMinute)
hourObj.Rotate(0,0,degreeHour)
}
// -->
</script>
</head>
<body onLoad="checkTime();">
<!-- ½Ã°è¸¦ º¸¿©ÁÙ ·¹À̾îÀÇ À§Ä¡¸¦ ÁöÁ¤ÇÕ´Ï´Ù -->
<DIV style="position:absolute;top:20px;left:50px">
<!-- ½Ã°è ±×¸²ÀÌ µé¾î°©´Ï´Ù -->
<DIV style="position:absolute;top:0px;left:0px">
<img src="½Ã°èÀ̹ÌÁöÁÖ¼Ò"
border="0" width=120 height=120>
</DIV>
<!-- Ãʸ¦ Ç¥½ÃÇÕ´Ï´Ù -->
<DIV style="position:absolute;top:0px;left:0px">
<OBJECT ID="secondObj" STYLE="width:120px;height:120px"
CLASSID="CLSID:369303C2-D7AC-11D0-89D5-00A0C90833E6">
<PARAM NAME="HighQuality" VALUE="1">
<PARAM NAME="Line0001" VALUE="SetFillStyle(1)">
<PARAM NAME="Line0002" VALUE="SetLineColor(255,0,240)">
<PARAM NAME="Line0003" VALUE="SetFillColor(255,0,240)">
<PARAM NAME="Line0004" VALUE="Rect(0,0,1,45)">
</OBJECT>
</DIV>
<!-- ºÐÀ» Ç¥½ÃÇÕ´Ï´Ù -->
<DIV style="position:absolute;top:0px;left:0px">
<OBJECT ID="minuteObj" STYLE="width:120px;height:120px"
CLASSID="CLSID:369303C2-D7AC-11D0-89D5-00A0C90833E6">
<PARAM NAME="HighQuality" VALUE="1">
<PARAM NAME="Line0001" VALUE="SetFillStyle(1)">
<PARAM NAME="Line0002" VALUE="SetLineColor(100,50,255)">
<PARAM NAME="Line0003" VALUE="SetFillColor(100,50,255)">
<PARAM NAME="Line0004" VALUE="Rect(0,0,1,42)">
</OBJECT>
</DIV>
<!-- ½Ã ¸¦ Ç¥½ÃÇÕ´Ï´Ù -->
<DIV style="position:absolute;top:0px;left:0px">
<OBJECT ID="hourObj" STYLE="width:120px;height:120px"
CLASSID="CLSID:369303C2-D7AC-11D0-89D5-00A0C90833E6">
<PARAM NAME="HighQuality" VALUE="1">
<PARAM NAME="Line0001" VALUE="SetFillStyle(1)">
<PARAM NAME="Line0002" VALUE="SetLineColor(100,50,255)">
<PARAM NAME="Line0003" VALUE="SetFillColor(100,50,255)">
<PARAM NAME="Line0004" VALUE="Rect(0,0,1,32)">
</OBJECT>
</DIV>
</DIV>
<p></p>
</body>
|
|
|
 |
|
|
|
 |
|