|
|
Ŭ¶ó¿ìµåű×
Javascript PHP ASP css html mysql jquery image API Mobile ¸Þ´º slide °Ô½ÃÆÇ
|
|
|
ÇöÀçÁ¢¼ÓÀÚ ¸í |
|
|
|
|
|
|
|
»óÅÂÇ¥½ÃÁÙ¿¡ ¼¼°è½Ã°£ |
|
|
|
|
¼Ò½ººÐ·ù |
½Ã°£,³¯Â¥ |
|
|
´Ù¿î·Îµå Ƚ¼ö |
625 ȸ |
|
|
|
°£´Ü¼³¸í |
»óÅ ǥ½ÃÁÙ¿¡ ¼¼°è ½Ã°£ÀÌ ³ª¿É´Ï´Ù. ¿©Çà °ü·Ã »çÀÌÆ®¿¡ »ç¿ëÇϸé ÁÁ°Ú³×¿ä. |
|
|
|
|
|
<script language=javaScript><br />
// CREDITS:<br />
// Worldtime ticker by Urs Dudli and Peter Gehrig <br />
// Copyright (c) 2000 Peter Gehrig and Urs Dudli. All rights reserved.<br />
<br />
var worldtime = new Array()<br />
worldtime[0]="¼¿ï,9"<br />
worldtime[1]="¹Ù±×´Ùµå,3"<br />
worldtime[2]="º£ÀÌÂô,8"<br />
worldtime[3]="º£¸¦¸°,2"<br />
worldtime[4]="ºÎ¿¡³ë½º¾ÆÀÌ·¹½º,-3"<br />
worldtime[5]="½ÃÄ«°í,-6"<br />
worldtime[6]="µ§¹ö,-7"<br />
worldtime[7]="È«Äá,8"<br />
worldtime[8]="È£³î·ç·ç,-10"<br />
worldtime[9]="¿äÇϳ׽º¹ö±×,2"<br />
worldtime[10]="Ä«ÀÌ·Î,2"<br />
worldtime[11]="¸®¸¶,-5"<br />
worldtime[12]="·±´ø,0"<br />
worldtime[13]="¸ß½ÃÄÚ,-6"<br />
worldtime[14]="¸ð½ºÅ©¹Ù,3"<br />
worldtime[15]="´º¿å,-5"<br />
worldtime[16]="Æĸ®,1"<br />
worldtime[17]="Perth,8"<br />
worldtime[18]="Rio de Janheiro,-3"<br />
worldtime[19]="San Francisco,-8"<br />
worldtime[20]="Sydney,11"<br />
worldtime[21]="µ¿°æ,9"<br />
<br />
// ½ºÇǵå (milliseconds)<br />
var speed=1000<br />
<br />
// ´Ü°è<br />
var step=10<br />
<br />
// ¿©±â±îÁö<br />
<br />
<br />
var hours<br />
var shifthours<br />
var minutes<br />
var seconds<br />
var localhours<br />
var thisplace<br />
var i_substring=0<br />
<br />
var content<br />
<br />
function extracttime() {<br />
content=" -------------------------------------"<br />
for (i=0;i<=worldtime.length-1;i++) {<br />
thisplace=worldtime[i].split(",")<br />
thistime= new Date()<br />
hours=thistime.getUTCHours()<br />
hours=eval(hours)<br />
shifthours=eval(thisplace[1])<br />
localhours=eval(shifthours+hours)<br />
if (localhours <0) {localhours=24+localhours}<br />
if (localhours >=24) {localhours=localhours-24}<br />
<br />
minutes=thistime.getUTCMinutes()<br />
seconds=thistime.getUTCSeconds()<br />
<br />
if (thisplace[0]==``Delhi``) {<br />
minutes=eval(minutes+30)<br />
if (minutes>=60) {<br />
minutes=eval(minutes-60)<br />
localhours=eval(localhours+1)<br />
}<br />
}<br />
if (eval(minutes) < 10) {minutes="0"+minutes}<br />
if (eval(seconds) < 10) {seconds="0"+seconds}<br />
if (eval(localhours) < 10) {localhours="0"+localhours}<br />
thistime = localhours+":"+minutes<br />
content+=" ------ "+thisplace[0]+": "+thistime<br />
}<br />
content+=" -------------------------------------"<br />
scrolltime()<br />
}<br />
<br />
function scrolltime() {<br />
if (i_substring<=content.length-1) {<br />
window.status=content.substring(i_substring,content.length-1)<br />
i_substring=i_substring+step<br />
var timer=setTimeout("extracttime()",speed)<br />
}<br />
else {<br />
i_substring=0<br />
clearTimeout(timer)<br />
extracttime()<br />
}<br />
}<br />
<br />
// - End of JavaScript - --><br />
</script>
|
|
³×ƼÁð ÀÇ°ß ÀÌ¿ëÇϽŠÀÚ·áÀÇ Èı⸦ ÀÚÀ¯·Ó°Ô ÀÛ¼ºÇϼ¼¿ä. (»ó¾÷ÀûÀÎ ±¤°í ¹× µµ¹è¼º ±Û µîÀº »çÀüÅ뺸¾øÀÌ »èÁ¦µÉ ¼ö ÀÖ½À´Ï´Ù.) |
|