홈으로 홈으로 | 무료회원가입 | 아이디/비번찾기 | 즐겨찾기
추천음악방송메인홈1대1상담음악방송청취
운.영.자.1대1.상담

온라이브음악방송
온라이브스토어(앱다운로드)
아리랑가요(무료음악채널)
뽕짝아가씨(무료음악채널)
okTrot(무료음악채널)
전통가요(무료음악채널)

환상의뽕짝파티 무료음악
명작트로트메들리 무료음악
트로트메들리관광 무료음악
동영상노래방
가사검색

POP Player
신나는 고스톱
컴퓨터 오목
작은 음악다방
최신 인기가요

보안∵서버∵쿠키
윈도우∵프레임
이미지∵배경
시간∵달력∵계산
상태바∵타이틀바
음악∵영상
폼∵전송∵테이블
키보드∵마우스
효과∵링크∵메뉴
Script∵php
기타
PHP 강좌
윈도우관련팁
웹관련팁
홈페이지제작팁
기본강좌
레지스트리
윈도우서버
리눅스서버
Android
시계 소스코드 생성기 (종류별 선택가능)
홈페이지홈페이지 14년 전
http://www.xtx.kr
시계 타입 선택 :
표시될 위치 선택 :

<html> <head> <title>http://www.xtx.kr</title> <script language="JavaScript"> <!-- function generate(){ var f=document.myForm; var selector = f.type.selectedIndex; var selector2 = f.local.selectedIndex; var add; var myStr; if(selector==0){ add='d = new Date();\n'+ 'mon = d.getMonth();\n'+ 'date = d.getDate();\n'+ 'year = d.getYear();\n'+ 'zmon=new Array();\n'+ 'zmon=["January","February","March","April","May","June","July","August","September","October","November","December"];\n\n'+ 'if(year<1000){year=(""+(year+11900)).substring(1,5);}\n'+ 'else{year=(""+(year+10000)).substring(1,5);}\n\n'; myStr='"+zmon[mon]+" "+date+", "+year+"'; } else if(selector==1){ add='d = new Date();\n'+ 'day = d.getDay();\n'+ 'mon = d.getMonth();\n'+ 'date = d.getDate();\n\n'+ 'zday=new Array();\n'+ 'zday=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];\n'+ 'zmon=new Array();\n'+ 'zmon=["January","February","March","April","May","June","July","August","September","October","November","December"];\n\n'; myStr='"+zday[day]+", "+zmon[mon]+" "+date+"'; } else if(selector==2){ add='d = new Date();\n'+ 'day = d.getDay();\n'+ 'mon = d.getMonth();\n'+ 'date = d.getDate();\n'+ 'year = d.getYear();\n\n'+ 'if(year<1000){year=(""+(year+11900)).substring(1,5);}\n'+ 'else{year=(""+(year+10000)).substring(1,5);}\n\n'+ 'zday=new Array();\n'+ 'zday=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];\n'+ 'zmon=new Array();\n'+ 'zmon=["January","February","March","April","May","June","July","August","September","October","November","December"];\n\n'; myStr='"+zday[day]+", "+zmon[mon]+" "+date+", "+year+"'; } else if(selector==3){ add='d = new Date();\n'+ 'day = d.getDay();\n'+ 'mon = d.getMonth();\n'+ 'date = d.getDate();\n'+ 'year = d.getYear();\n'+ 'hr = d.getHours();\n'+ 'min = d.getMinutes();\n\n'+ 'if(year<1000){year=(""+(year+11900)).substring(1,5);}\n'+ 'else{year=(""+(year+10000)).substring(1,5);}\n\n'+ 'if(hr==0){ap=" AM";hr=12}\n'+ 'else if(hr <= 11){ap=" AM"}\n'+ 'else if(hr == 12){ap=" PM";hr=12}\n'+ 'else if(hr >= 13){ap=" PM";hr-=12}\n\n'+ 'if(min <= 9){min="0"+min}\n\n'+ 'zday=new Array();\n'+ 'zday=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];\n'+ 'zmon=new Array();\n'+ 'zmon=["January","February","March","April","May","June","July","August","September","October","November","December"];\n\n'; myStr='"+zday[day]+", "+zmon[mon]+" "+date+", "+year+" "+hr+":"+min+ap+"'; } else if(selector==4){ add='d = new Date();\n'+ 'day = d.getDay();\n'+ 'mon = d.getMonth();\n'+ 'date = d.getDate();\n'+ 'year = d.getYear();\n'+ 'hr = d.getHours();\n'+ 'min = d.getMinutes();\n'+ 'sec = d.getSeconds();\n\n'+ 'if(year<1000){year=(""+(year+11900)).substring(1,5);}\n'+ 'else{year=(""+(year+10000)).substring(1,5);}\n\n'+ 'if(hr==0){ap=" AM";hr=12}\n'+ 'else if(hr <= 11){ap=" AM"}\n'+ 'else if(hr == 12){ap=" PM";hr=12}\n'+ 'else if(hr >= 13){ap=" PM";hr-=12}\n\n'+ 'if(min <= 9){min="0"+min}\n'+ 'if(sec <= 9){sec="0"+sec}\n\n'+ 'zday=new Array();\n'+ 'zday=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];\n'+ 'zmon=new Array();\n'+ 'zmon=["January","February","March","April","May","June","July","August","September","October","November","December"];\n\n'; myStr='"+zday[day]+", "+zmon[mon]+" "+date+", "+year+" "+hr+":"+min+":"+sec+ap+"'; } else if(selector==5){ add='//'; myStr='--------'; } else if(selector==6){ add='d = new Date();\n'+ 'day = d.getDay();\n'+ 'mon = d.getMonth();\n'+ 'date = d.getDate();\n'+ 'year = d.getYear();\n'+ 'if(year<1000){year=(""+(year+11900)).substring(1,5);}\n'+ 'else{year=(""+(year+10000)).substring(1,5);}\n\n'; myStr='"+(mon+1)+"-"+date+"-"+year+"'; } else if(selector==7){ add='d = new Date();\n'+ 'day = d.getDay();\n'+ 'mon = d.getMonth();\n'+ 'date = d.getDate();\n'+ 'year = d.getYear();\n'+ 'if(year<1000){year=(""+(year+11900)).substring(1,5);}\n'+ 'else{year=(""+(year+10000)).substring(1,5);}\n\n'; myStr='"+(mon+1)+"/"+date+"/"+year+"'; } else if(selector==8){ add='d = new Date();\n'+ 'day = d.getDay();\n'+ 'mon = d.getMonth();\n'+ 'date = d.getDate();\n'+ 'year = d.getYear();\n'+ 'if(year<1000){year=(""+(year+11900)).substring(1,5);}\n'+ 'else{year=(""+(year+10000)).substring(1,5);}\n\n'; myStr='"+date+"."+(mon+1)+"."+year+"'; } else if(selector==9){ add='//'; myStr='--------'; } else if(selector==10){ add='d = new Date();\n'+ 'day = d.getDay();\n'+ 'mon = d.getMonth();\n'+ 'date = d.getDate();\n'+ 'year = d.getYear();\n'+ 'if(year<1000){year=(""+(year+11900)).substring(3,5);}\n'+ 'else{year=(""+(year+10000)).substring(3,5);}\n\n'; myStr='"+(mon+1)+"-"+date+"-"+year+"'; } else if(selector==11){ add='d = new Date();\n'+ 'day = d.getDay();\n'+ 'mon = d.getMonth();\n'+ 'date = d.getDate();\n'+ 'year = d.getYear();\n'+ 'if(year<1000){year=(""+(year+11900)).substring(3,5);}\n'+ 'else{year=(""+(year+10000)).substring(3,5);}\n\n'; myStr='"+(mon+1)+"/"+date+"/"+year+"'; } else if(selector==12){ add='d = new Date();\n'+ 'day = d.getDay();\n'+ 'mon = d.getMonth();\n'+ 'date = d.getDate();\n'+ 'year = d.getYear();\n'+ 'if(year<1000){year=(""+(year+11900)).substring(3,5);}\n'+ 'else{year=(""+(year+10000)).substring(3,5);}\n\n'; myStr='"+date+"."+(mon+1)+"."+year+"'; } else if(selector==13){ add='//'; myStr='--------'; } else if(selector==14){ add='d = new Date();\n'+ 'hr = d.getHours();\n'+ 'min = d.getMinutes();\n'+ 'if(hr==0){hr=12}\n'+ 'else if(hr >= 13){hr-=12}\n\n'+ 'if(min <= 9){min="0"+min}\n\n'; myStr='"+hr+":"+min+"'; } else if(selector==15){ add='d = new Date();\n'+ 'hr = d.getHours();\n'+ 'min = d.getMinutes();\n'+ 'if(hr==0){ap=" AM";hr=12}\n'+ 'else if(hr <= 11){ap=" AM"}\n'+ 'else if(hr == 12){ap=" PM";hr=12}\n'+ 'else if(hr >= 13){ap=" PM";hr-=12}\n\n'+ 'if(min <= 9){min="0"+min}\n\n'; myStr='"+hr+":"+min+ap+"'; } else if(selector==16){ add='d = new Date();\n'+ 'hr = d.getHours();\n'+ 'min = d.getMinutes();\n'+ 'sec = d.getSeconds();\n\n'+ 'if(hr==0){ap=" AM";hr=12}\n'+ 'else if(hr <= 11){ap=" AM"}\n'+ 'else if(hr == 12){ap=" PM";hr=12}\n'+ 'else if(hr >= 13){ap=" PM";hr-=12}\n\n'+ 'if(min <= 9){min="0"+min}\n'; 'if(sec <= 9){sec="0"+sec}\n\n'; myStr='"+hr+":"+min+":"+sec+ap+"'; } else if(selector==17){ add='//'; myStr='--------'; } else if(selector==18){ add='d = new Date();\n'+ 'day = d.getDay();\n'+ 'mon = d.getMonth();\n'+ 'date = d.getDate();\n'+ 'year = d.getYear();\n'+ 'hr = d.getHours();\n'+ 'min = d.getMinutes();\n'+ 'if(year<1000){year=(""+(year+11900)).substring(1,5);}\n'+ 'else{year=(""+(year+10000)).substring(1,5);}\n\n'+ 'if(hr==0){hr=12}\n'+ 'else if(hr >= 13){hr-=12}\n\n'+ 'if(min <= 9){min="0"+min}\n'; myStr='"+(mon+1)+"/"+date+"/"+year+" "+hr+":"+min+"'; } else if(selector==19){ add='d = new Date();\n'+ 'day = d.getDay();\n'+ 'mon = d.getMonth();\n'+ 'date = d.getDate();\n'+ 'year = d.getYear();\n'+ 'hr = d.getHours();\n'+ 'min = d.getMinutes();\n'+ 'if(year<1000){year=(""+(year+11900)).substring(1,5);}\n'+ 'else{year=(""+(year+10000)).substring(1,5);}\n\n'+ 'if(hr==0){ap=" AM";hr=12}\n'+ 'else if(hr <= 11){ap=" AM"}\n'+ 'else if(hr == 12){ap=" PM";hr=12}\n'+ 'else if(hr >= 13){ap=" PM";hr-=12}\n\n'+ 'if(min <= 9){min="0"+min}\n'; myStr='"+(mon+1)+"/"+date+"/"+year+" "+hr+":"+min+ap+"'; } else if(selector==20){ add='d = new Date();\n'+ 'day = d.getDay();\n'+ 'mon = d.getMonth();\n'+ 'date = d.getDate();\n'+ 'year = d.getYear();\n'+ 'hr = d.getHours();\n'+ 'min = d.getMinutes();\n'+ 'sec = d.getSeconds();\n\n'+ 'if(year<1000){year=(""+(year+11900)).substring(1,5);}\n'+ 'else{year=(""+(year+10000)).substring(1,5);}\n\n'+ 'if(hr==0){ap=" AM";hr=12}\n'+ 'else if(hr <= 11){ap=" AM"}\n'+ 'else if(hr == 12){ap=" PM";hr=12}\n'+ 'else if(hr >= 13){ap=" PM";hr-=12}\n\n'+ 'if(min <= 9){min="0"+min}\n'+ 'if(sec <= 9){sec="0"+sec}\n\n'; myStr='"+(mon+1)+"/"+date+"/"+year+" "+hr+":"+min+":"+sec+ap+"'; } if(selector2==0){ f.output.value='<SCRIPT LANGUAGE="JavaScript"><!--\n'+ ''+add+'document.write("'+myStr+'");\n//--></'+'script>\n'; } if(selector2==1){ f.output.value='<SCRIPT LANGUAGE="JavaScript"><!--\n'+ 'function runClock(){\n'+ 'theTime = window.setTimeout("runClock()", 1000);\n'+ ''+add+'\nstatus="'+myStr+'";}\n'+ 'runClock();\n//--></'+'script>\n'; } if(selector2==2){ f.output.value='<SCRIPT LANGUAGE="JavaScript"><!--\n'+ 'function runClock(){\n'+ 'theTime = window.setTimeout("runClock()", 1000);\n'+ ''+add+'\ndocument.title="'+myStr+'";}\n'+ 'if(document.all){runClock();}\n//--></'+'script>\n';} if(selector2==3){ f.output.value='<form name=myForm>\n'+ '<input type=text name=clock size=45 value="Loading..."></form>\n'+ '<SCRIPT LANGUAGE="JavaScript"><!--\n'+ 'function runClock(){\n'+ 'theTime = window.setTimeout("runClock()", 1000);\n'+ ''+add+'\ndocument.myForm.clock.value="'+myStr+'";}\n'+ 'runClock();\n//--></'+'script>\n';} if(selector2==4){ f.output.value='<form name=myForm>\n'+ '<input type=button value="Loading..." name=clock></form>\n'+ '<SCRIPT LANGUAGE="JavaScript"><!--\n'+ 'function runClock(){\n'+ 'theTime = window.setTimeout("runClock()", 1000);\n'+ ''+add+'\ndocument.myForm.clock.value="'+myStr+'";}\n'+ 'runClock();\n//--></'+'script>\n';} } function view() { if(document.myForm.output.value != 'no code available. "Generate" source code first'){ msg=open("","DisplayWindow","status=1,scrollbars=1,menubar=1,resizable=1,width=450,height=100"); msg.document.write(document.myForm.output.value); } else{ generate(); view();} } function getDates(){ var RightNow = new Date(); var mon = (RightNow.getMonth() +1); var date = RightNow.getDate(); var year1 = RightNow.getYear(); if(year1<500){year1=year1+1900;} var year2 = (year1 - 2000); if(year2<=9){year2='0'+year2;} var hrNow = RightNow.getHours(); var mnNow = RightNow.getMinutes(); var scNow = RightNow.getSeconds(); var miNow = RightNow.getTime(); var day = RightNow.getDay(); if(hrNow == 0) {hour = 12;var ap = ' AM';} else if(hrNow <= 11) {ap = ' AM';hour = hrNow;} else if(hrNow == 12) {ap = ' PM';hour = 12;} else if(hrNow >= 13) {hour = (hrNow - 12);ap = ' PM';} if (hrNow >= 13) {hour = hrNow - 12;} if (mnNow <= 9) {min = '0' + mnNow;} else{min = mnNow} if(scNow <= 9) {secs = '0' + scNow;} else {secs = scNow;} var zmon=new Array(12) if (mon==1) {zmon='January'}; if (mon==2) {zmon='February'}; if (mon==3) {zmon='March'}; if (mon==4) {zmon='April'}; if (mon==5) {zmon='May'}; if (mon==6) {zmon='June'}; if (mon==7) {zmon='July'}; if (mon==8) {zmon='August'}; if (mon==9) {zmon='September'}; if (mon==10) {zmon='October'}; if (mon==11) {zmon='November'}; if (mon==12) {zmon='December'}; var zday=new Array(7) if (day==0) {zday="Sunday"}; if (day==1) {zday="Monday"}; if (day==2) {zday="Tuesday"}; if (day==3) {zday="Wednesday"}; if (day==4) {zday="Thursday"}; if (day==5) {zday="Friday"}; if (day==6) {zday="Saturday"}; document.write("<select name='type'>"); document.write("<option>"+zmon+" "+date+", "+year1+"</option>"); document.write("<option>"+zday+", "+zmon+" "+date+"</option>"); document.write("<option>"+zday+", "+zmon+" "+date+", "+year1+"</option>"); document.write("<option>"+zday+", "+zmon+" "+date+", "+year1+" "+hour+":"+min+ap+"</option>"); document.write("<option selected>"+zday+", "+zmon+" "+date+", "+year1+" "+hour+":"+min+":"+secs+ap+"</option>"); document.write("<option>--------</option>"); document.write("<option>"+mon+"-"+date+"-"+year1+"</option>"); document.write("<option>"+mon+"/"+date+"/"+year1+"</option>"); document.write("<option>"+date+"."+mon+"."+year1+"</option>"); document.write("<option>--------</option>"); document.write("<option>"+mon+"-"+date+"-"+year2+"</option>"); document.write("<option>"+mon+"/"+date+"/"+year2+"</option>"); document.write("<option>"+date+"."+mon+"."+year2+"</option>"); document.write("<option>--------</option>"); document.write("<option>"+hour+":"+min+"</option>"); document.write("<option>"+hour+":"+min+ap+"</option>"); document.write("<option>"+hour+":"+min+":"+secs+ap+"</option>"); document.write("<option>--------</option>"); document.write("<option>"+mon+"/"+date+"/"+year1+" "+hour+":"+min+"</option>"); document.write("<option>"+mon+"/"+date+"/"+year1+" "+hour+":"+min+ap+"</option>"); document.write("<option>"+mon+"/"+date+"/"+year1+" "+hour+":"+min+":"+secs+ap+"</option>"); document.write("</select>"); } //--> </script> </head> <body> <script type="text/javascript" language="JavaScript1.2"> <!-- function lite(obj) { if(document.all&&!window.opera) { obj.filters.blendTrans.apply(); obj.filters.blendTrans.play(); } } // --> </script> <form name="myForm"> <table border="0" align="center" cellpadding="4" cellspacing="0"> <tr> <td>시계 타입 선택 :</td> <td><SCRIPT LANGUAGE="JavaScript">getDates();</SCRIPT></td> </tr> <tr> <td>표시될 위치 선택 :</td> <td> <select name="local"> <option>Plain Text <option>Status Bar <option>Document Title <option>Text Box <option>Button </select> </td> </tr> </table> <br> <table border="0" align="center" cellpadding="4" cellspacing="0" style="border-collapse:collapse;"> <tr> <td align="center"> <input type="button" class="button" value="소스생성" onClick="generate()"> <input type="button" class="button" value="생성된소스 미리보기" onClick="view();"> <input type="reset" class="button" value="취소"> </td> </tr> <tr> <td><textarea name="output" cols="58" rows="10" wrap="virtual"></textarea></td> </tr> </table> </form> </div> </body> </html>
추천추천 : 529 추천 목록
번호 제목
3,026
 여러 도메인들 간 쿠키 공유하기
3,025
 태그 사이에 있는 텍스트를 추출
3,024
 [JQuery] textbox focus on off일때 숫자 콤마 보여주기
3,023
 쿠키 생성,가져오기,삭제
3,022
 사용자 함수 모음
3,021
 마우스,키보드 제한 ( 오른쪽클릭,드래그,영역선택등..)
3,020
 [HTML5] <video> - DOM으로 제어하기
3,019
 HTML5 video 태그에서 영상 좌우반전
3,018
 PHP - 특정 태그 및 문자열 추출, 제거
3,017
 [PHP] define과 defined의 차이
3,016
 우클릭 완벽차단 스크립트
3,015
 iframe 높이 100% 맞추기
3,014
 curl 함수를 이용한 HTTP REFERER 변경
3,013
 윈도우10 시스템 파일 및 Dism 검사
3,012
 텍스트 줄바꿈, 글자자르기 CSS
3,011
 jQuery Mobile에서 유용한 코드 10가지.
3,010
 [PHP] dirname()함수와 $_SERVER 관련 상수들
3,009
 [PHP] 파일 크기, 사이즈 불러오는 함수, filesize()
3,008
 [jQuery] jQuery Quick API
3,007
 [ transition ] 링크 hover 색상 변화 속도 조절
3,006
 PHP 5.3.0 에서 사라진 함수들 대체
3,005
 어떤 파일들이 include 나 require 되었는지 확인하는 함수(get_included_files)
3,004
 PHP 날짜 형식 및 계산하기(날짜 더하고 빼기)
3,003
 jQuery Mobile에서 유용한 코드 10가지.
3,002
 값이 배열 안에 존재하는지 확인하는 in_array함수
3,001
 사용자가 웹브라우저에서 뒤로가기를 했을때 감지하는 방법
3,000
 [jQuery]버튼 활성화, 비활성화
2,999
 jQuery show() / hide() / toggle() 사용법
2,998
 jquery 여러가지 이벤트
2,997
 border-radius 속성
2,996
 네이버 오픈API 음성합성 API 사용하는 PHP 샘플코드
2,995
 UTF8 한글 자르기..
2,994
 iconv 에러 발생시 계속 처리하기 옵션
2,993
 [PHP] 현재 페이지의 도메인 , URL 정보 알아내기.
2,992
 [PHP] 막강 기능 배열..
목록
추억의가요방(가사포함)
인기절정뽕짝파티
인기트로트모음
지루박디스코메들리
밤무대애창곡
전자올겐경음악
세월따라노래따라
가슴시린트로트
트로트쌍쌍파티
7080추억속으로
종합성인가요방
못잊을옛날노래
카바레 음악
트롯디스코팡팡
관광 메들리
트롯카페
가요감상실
추억의옛노래
스페셜가요광장
BillBoard Free
추천가요모음
경음악.전자올겐
스페셜음악여행
WOLRD POPs
K-POP\BillBoard
POP TOP BEST

최신인기가요특집
추천가요\인기
F뮤직 인기\발라드
F뮤직 애창\트로트
트로트성인가요
인기가요
프리미엄 POP
경음악\기타
프리미엄 최신가요
프리미엄 성인가요
가요축제\트롯1번지
댄스\메들리\리믹스
카페\명상\경음악\기타
뮤직트로트 부산광역시부산진구 가야동 ㅣ 개인정보취급방침
Copyright (C) musictrot All rights reserved.