|
|
Ŭ¶ó¿ìµåű×
Javascript PHP ASP CSS html mysql jquery image API Mobile ¸Þ´º slide °Ô½ÃÆÇ
|
|
|
ÇöÀçÁ¢¼ÓÀÚ ¸í |
|
|
|
|
|
|
|
º®½Ã°è |
|
|
|
|
¼Ò½ººÐ·ù |
½Ã°£,³¯Â¥ |
|
|
´Ù¿î·Îµå Ƚ¼ö |
670 ȸ |
|
|
|
°£´Ü¼³¸í |
ÀÌ»Û º®½Ã°èÀÔ´Ï´Ù. ¾ÖÀÎÀÇ »çÁøÀ» ³Ö°í º®½Ã°è¸¦ ¸¸µé¾î º¸¼¼¿ä. |
|
|
|
|
|
<script language="JavaScript"><br />
<!--<br />
<br />
var now<br />
var second<br />
var minute<br />
var hour<br />
<br />
var degreeSecond<br />
var degreeMinute<br />
var degreeHour<br />
<br />
var timer<br />
var stepDegree=6<br />
var stepDegreeHour=30<br />
<br />
function checkTime() { // ÇöÀç½Ã°£À» ±¸ÇÕ´Ï´Ù<br />
if (document.all) {<br />
now=new Date()<br />
second=now.getSeconds()<br />
minute=now.getMinutes()<br />
hour=now.getHours()<br />
if (hour>=12) {hour=hour-12}<br />
spinIt()<br />
timer=setTimeout("checkTime()",200)<br />
}<br />
}<br />
<br />
function spinIt() { // ½Ã°è ¹Ù´ÃÀ» ¿òÁ÷ÀÔ´Ï´Ù<br />
window.status=hour<br />
secondObj.SetIdentity()<br />
minuteObj.SetIdentity()<br />
hourObj.SetIdentity()<br />
<br />
degreeSecond=180+stepDegree*second<br />
degreeMinute=180+stepDegree*minute<br />
degreeHour=180+stepDegreeHour*hour+(Math.floor(stepDegree*minute/12))<br />
<br />
secondObj.Rotate(0,0,degreeSecond)<br />
minuteObj.Rotate(0,0,degreeMinute)<br />
hourObj.Rotate(0,0,degreeHour)<br />
}<br />
// --><br />
</script>
|
|
³×ƼÁð ÀÇ°ß ÀÌ¿ëÇϽŠÀÚ·áÀÇ Èı⸦ ÀÚÀ¯·Ó°Ô ÀÛ¼ºÇϼ¼¿ä. (»ó¾÷ÀûÀÎ ±¤°í ¹× µµ¹è¼º ±Û µîÀº »çÀüÅ뺸¾øÀÌ »èÁ¦µÉ ¼ö ÀÖ½À´Ï´Ù.) |
|