|
|
Ŭ¶ó¿ìµåű×
Javascript PHP ASP CSS html mysql jquery image API Mobile ¸Þ´º slide °Ô½ÃÆÇ
|
|
|
ÇöÀçÁ¢¼ÓÀÚ ¸í |
|
|
|
|
|
|
|
µðÁöÅÐ ½Ã°è |
|
|
|
|
¼Ò½ººÐ·ù |
½Ã°£,³¯Â¥ |
|
|
´Ù¿î·Îµå Ƚ¼ö |
529 ȸ |
|
|
|
°£´Ü¼³¸í |
¸ÜÁø µðÁöÅÐ ½Ã°è. |
|
|
|
|
|
<SCRIPT LANGUAGE="JavaScript"><br />
<!-- Original: Ramandeep Singh (ramandeepji@yahoo.com) --><br />
<!-- Web Site: http://hard-drive.hypermart.net --><br />
<!-- Begin<br />
var dn;<br />
c1 = new Image(); c1.src = "c1.gif";<br />
c2 = new Image(); c2.src = "c2.gif";<br />
c3 = new Image(); c3.src = "c3.gif";<br />
c4 = new Image(); c4.src = "c4.gif";<br />
c5 = new Image(); c5.src = "c5.gif";<br />
c6 = new Image(); c6.src = "c6.gif";<br />
c7 = new Image(); c7.src = "c7.gif";<br />
c8 = new Image(); c8.src = "c8.gif";<br />
c9 = new Image(); c9.src = "c9.gif";<br />
c0 = new Image(); c0.src = "c0.gif";<br />
cb = new Image(); cb.src = "cb.gif";<br />
cam = new Image(); cam.src = "cam.gif";<br />
cpm = new Image(); cpm.src = "cpm.gif";<br />
function extract(h,m,s,type) {<br />
if (!document.images) return;<br />
if (h <= 9) {<br />
document.images.a.src = cb.src;<br />
document.images.b.src = eval("c"+h+".src");<br />
}<br />
else {<br />
document.images.a.src = eval("c"+Math.floor(h/10)+".src");<br />
document.images.b.src = eval("c"+(h%10)+".src");<br />
}<br />
if (m <= 9) {<br />
document.images.d.src = c0.src;<br />
document.images.e.src = eval("c"+m+".src");<br />
}<br />
else {<br />
document.images.d.src = eval("c"+Math.floor(m/10)+".src");<br />
document.images.e.src = eval("c"+(m%10)+".src");<br />
}<br />
if (s <= 9) {<br />
document.g.src = c0.src;<br />
document.images.h.src = eval("c"+s+".src");<br />
}<br />
else {<br />
document.images.g.src = eval("c"+Math.floor(s/10)+".src");<br />
document.images.h.src = eval("c"+(s%10)+".src");<br />
}<br />
if (dn == "AM") document.j.src = cam.src;<br />
else document.images.j.src = cpm.src;<br />
}<br />
function show3() {<br />
if (!document.images)<br />
return;<br />
var Digital = new Date();<br />
var hours = Digital.getHours();<br />
var minutes = Digital.getMinutes();<br />
var seconds = Digital.getSeconds();<br />
dn = "AM";<br />
if ((hours >= 12) && (minutes >= 1) || (hours >= 13)) {<br />
dn = "PM";<br />
hours = hours-12;<br />
}<br />
if (hours == 0)<br />
hours = 12;<br />
extract(hours, minutes, seconds, dn);<br />
setTimeout("show3()", 1000);<br />
}<br />
// End --><br />
</script>
|
|
³×ƼÁð ÀÇ°ß ÀÌ¿ëÇϽŠÀÚ·áÀÇ Èı⸦ ÀÚÀ¯·Ó°Ô ÀÛ¼ºÇϼ¼¿ä. (»ó¾÷ÀûÀÎ ±¤°í ¹× µµ¹è¼º ±Û µîÀº »çÀüÅ뺸¾øÀÌ »èÁ¦µÉ ¼ö ÀÖ½À´Ï´Ù.) |
|