본문 바로가기

javascript

(248)
절대 플래쉬가 아닙니다. 엄청 커지는 텍스트 스크립트 message = "KOREA the best your colors"; colours = new Array('fff000','00ff00')//Pick your colors, any amount. siZe = 20;//Explorer only! can be outrageous size. message = message.split(' '); timer = null; clrPos = 0; msgPos = 0; jog = 1; currentStep = 10; step = 8; ns = (document.layers)?1:0; viz = (document.layers)?'hide':'hidden'; if (ns) document.write(""); else { document.write(""); document..
로테이트 되는 텍스트 var beforeMsg = ""; var afterMsg = ""; var msgRotateSpeed = 2000; //지연시간 var textStr = new Array(); textStr[0] = "최고의 자바스크립트 소스뱅크"; textStr[1] = "KOREA"; textStr[2] = "쉬운 자바 베껴쓰는 자바"; textStr[3] = "당신이 사용하는 브라우저는 "+navigator.userAgent+" 군요"; if (document.layers) { document.write('') temp = 'document.NS4message.document.NS4message2.document.write(beforeMsg + textStr[i++] + afterMsg);'+ 'document...
하이라이트 되는 텍스트 문장 스크립트 text = "JavaScript Source Bank"; // 사용할 텍스트 color1 = "blue"; // 원래색깔 color2 = "red"; // 하이라이트될 색깔 fontsize = "15"; // 폰트 사이즈 speed = 200; // 로테이트 속도 1000 = 1 second) i = 0; if (navigator.appName == "Netscape") { document.write(""); } else { document.write(""); } function changeCharColor()  { if (navigator.appName == "Netscape") { document.a.document.write(""); for (var j = 0; j if(j == i) { docu..
랜덤 메세지 나타내기 랜덤 메세지를 보시려면 아래 버튼을 클릭 27 11:28:08, 1 Subject 랜덤으로 단어를 조합하여 문장 만들어 주는 스크립트
랜덤으로 문장 나타내기 .
랜덤으로 특정 범위안의 숫자 나타내기 function getRandomNum(lbound, ubound) { return (Math.floor(Math.random() * (ubound - lbound)) + lbound); } //  End --> document.write("[1, 158] 사이의 랜덤 숫자:  "); document.write(""+getRandomNum(1,158)+""); //  End -->
랜덤으로 이름만들어 보기 Male Female 성 : 이름 :
랜덤으로 질문과 답변 보여주기 randy.hall@i.am) --> http://i.am/randy.hall --> var QA = new Array(); QA[0] = new Array("저녁 드셨어요?", "무거운걸 뭐할라고 들어"); QA[1] = new Array("Who invented copper wire?", "Two tax attorneys fighting over a penny!"); QA[2] = new Array("How do you know you have a good tax accountant?", "They have have a loophole named after them."); QA[3] = new Array("Who said.. If you do not think every day is a good on..