|
|
Ŭ¶ó¿ìµåű×
Javascript php ASP CSS HTML MYSQL jquery image API Mobile ¸Þ´º slide °Ô½ÃÆÇ
|
|
|
ÇöÀçÁ¢¼ÓÀÚ ¸í |
|
|
|
|
|
|
|
ÀÌ»Ó ¼Õ¸ñ½Ã°è |
|
|
|
|
¼Ò½ººÐ·ù |
½Ã°£,³¯Â¥ |
|
|
´Ù¿î·Îµå Ƚ¼ö |
744 ȸ |
|
|
|
°£´Ü¼³¸í |
¾ÆÁÖ ¸ÜÁø ½ºÀ§½ºÁ¦ ¼Õ¸ñ½Ã°è |
|
|
|
|
|
<script language="JavaScript"><br />
<!-- Beginning of JavaScript -<br />
// CREDITS:<br />
// SwissWatch Alpha Y2 by Urs Dudli and Peter Gehrig <br />
// Copyright (c) 1999 Peter Gehrig and Urs Dudli. All rights reserved.<br />
<br />
var now<br />
<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 />
// - End of JavaScript - --><br />
</script>
|
|
³×ƼÁð ÀÇ°ß ÀÌ¿ëÇϽŠÀÚ·áÀÇ Èı⸦ ÀÚÀ¯·Ó°Ô ÀÛ¼ºÇϼ¼¿ä. (»ó¾÷ÀûÀÎ ±¤°í ¹× µµ¹è¼º ±Û µîÀº »çÀüÅ뺸¾øÀÌ »èÁ¦µÉ ¼ö ÀÖ½À´Ï´Ù.) |
|