|
|
Ŭ¶ó¿ìµåű×
Javascript PHP asp CSS html mysql jquery image Mobile API slide °Ô½ÃÆÇ ¸Þ´º
|
|
|
ÇöÀçÁ¢¼ÓÀÚ ¸í |
|
|
|
|
|
|
|
¾Æ³¯·Î±× ½Ã°è |
|
|
|
|
¼Ò½ººÐ·ù |
½Ã°£,³¯Â¥ |
|
|
´Ù¿î·Îµå Ƚ¼ö |
764 ȸ |
|
|
|
°£´Ü¼³¸í |
À̹ÌÁö¸¦ »ç¿ëÇÏÁö ¾Ê°íµµ ÀÌ»Ó ¾Æ³¯·Î±×½Ã°è |
|
|
|
|
|
<script language="javascript"><br />
var dot=65<br />
rads=new Array(65)<br />
function rad () {<br />
for (i=1; i<dot; i++) {<br />
if (document.all) rads[i]=new Array (eval(``rad``+i).style,-100,-100)<br />
else rads[i] = new Array (eval(``document.rad``+i),-100,-100)<br />
}<br />
}<br />
<br />
function setCircle() {<br />
for (i=1; i<dot; i++) {<br />
rads[i][0].left=rads[i][1]+pX-15<br />
if (document.layers) rads[i][0].left+=10<br />
rads[i][0].top=rads[i][2]+pY-15<br />
//if (document.layers) rads[i][0].top-=5<br />
<br />
}<br />
}<br />
<br />
<br />
function counter() {<br />
for (i=1; i<dot; i++) {<br />
rad=Math.PI*(i/((dot-1)/2))<br />
rads[i][1] = Math.sin(rad)*60;<br />
rads[i][2] = -Math.cos(rad)*60;<br />
}<br />
setCircle()<br />
}<br />
<br />
pX=100;pY=100<br />
obs = new Array(13)<br />
function ob () {<br />
for (i=0; i<13; i++) {<br />
if (document.all) obs[i]=new Array (eval(``ob``+i).style,-100,-100)<br />
else obs[i] = new Array (eval(``document.ob``+i),-100,-100)<br />
}<br />
}<br />
function cl(a,b,c){<br />
if (document.all) {<br />
if (a!=0) b+=-1<br />
eval(``c``+a+``.style.pixelTop=``+(pY+(c-5)))<br />
eval(``c``+a+``.style.pixelLeft=``+(pX+(b)))<br />
}<br />
else{<br />
if (a!=0) b+=10<br />
eval(``document.c``+a+``.top=``+(pY+(c)))<br />
eval(``document.c``+a+``.left=``+(pX+(b)))<br />
}<br />
}<br />
<br />
function runClock() {<br />
for (i=0; i<13; i++) {<br />
obs[i][0].left=obs[i][1]+pX<br />
obs[i][0].top=obs[i][2]+pY<br />
}<br />
}<br />
<br />
var lastsec<br />
function timer() {<br />
time = new Date ()<br />
sec = time.getSeconds()<br />
if (sec!=lastsec) {<br />
<br />
lastsec = sec<br />
sec=Math.PI*sec/30<br />
min=Math.PI*time.getMinutes()/30<br />
hr =Math.PI*((time.getHours()*60)+time.getMinutes())/360<br />
for (i=1;i<6;i++) {<br />
obs[i][1] = Math.sin(sec) * (44 - (i-1)*11)-16;<br />
if (document.layers)obs[i][1]+=10;<br />
obs[i][2] = -Math.cos(sec) * (44 - (i-1)*11)-27;<br />
}<br />
for (i=6;i<10;i++) {<br />
obs[i][1] = Math.sin(min) * (40 - (i-6)*10)-16;<br />
if (document.layers)obs[i][1]+=10;<br />
obs[i][2] = -Math.cos(min) * (40 - (i-6)*10)-27;<br />
}<br />
for (i=10;i<13;i++) {<br />
obs[i][1] = Math.sin(hr) * (37 - (i-10)*11)-16;<br />
if (document.layers)obs[i][1]+=10;<br />
obs[i][2] = -Math.cos(hr) * (37 - (i-10)*11)-27;<br />
}<br />
}<br />
<br />
}<br />
function setNum(){<br />
cl (0,-67,-65);<br />
cl (1,10,-51);<br />
cl (2,28,-33);<br />
cl (3,35,-8);<br />
cl (4,28,17);<br />
cl (5,10,35);<br />
cl (6,-15,42);<br />
cl (7,-40,35);<br />
cl (8,-58,17);<br />
cl (9,-65,-8);<br />
cl (10,-58,-33);<br />
cl (11,-40,-51);<br />
cl (12,-16,-56);<br />
<br />
}<br />
</script>
1
2
3
4
5
6
7
8
9
10
11
12
 
.
.
.
.
.
.
.
.
.
.
.
.
À̹ÌÁö¸¦ ÀüÇô »ç¿ëÇÏÁö ¾Ê¾Ò½À´Ï´Ù
 
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
|
|
³×ƼÁð ÀÇ°ß ÀÌ¿ëÇϽŠÀÚ·áÀÇ Èı⸦ ÀÚÀ¯·Ó°Ô ÀÛ¼ºÇϼ¼¿ä. (»ó¾÷ÀûÀÎ ±¤°í ¹× µµ¹è¼º ±Û µîÀº »çÀüÅ뺸¾øÀÌ »èÁ¦µÉ ¼ö ÀÖ½À´Ï´Ù.) |
|