한국어
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE> 새 문서 </TITLE> <META NAME="Generator" CONTENT="EditPlus"> < META NAME="저자" CONTENT=""> <META NAME="키워드" CONTENT=""> <META NAME="설명" CONTENT=""> </HEAD> <BODY> <div align="center"> <div id=AdRotator></div><input id="second"><button onclick="adRotator.set(getRef('second').value)">시간 설정</button></div> <SCRIPT LANGUAGE="JavaScript"> <!-- function adRotator() {}; adRotator.initialize=function(o) { // blueDestiny의 스크립트 this._t = new Array(); this._l = 새로운 배열(); this._p = 새로운 배열(); this._i = 새 이미지(); this._c = 0; this._f = 거짓; this._o = o; this._timeout = null; this._html = ""; // 구성. // @ 이미지 너비 // @ 이미지 높이 // @ 회전 속도 // @ 필터 유형 this._w = 450; this._h = 450; this._s = 4; this._x = 23; 이거 돌려줘; }; adRotator.add=function(p,t,l) { with (this) { _p.push(p); _t.push(t); _l.push(l); }}; adRotator.load=function() { with (adRotator) { if( _i.readyState=='complete' ) { if(_p.length-1==_c) { _f = true; _c = 0; window.clearTimeout(_timeout); //getRef("AdRotator").innerHTML="완료"; adRotator.play(); } else { _c++; getRef(_o).innerHTML="총 이미지 " + _p.length + ", 사진 로드 중 " + _c + ' ' + _i.readyState + "..."; _timeout=window.setTimeout(adRotator.load,10) } } else { getRef(_o).innerHTML="총 이미지 " + _p.length + ", 사진 로드 중 " + _c + ' ' + _i.readyState + ".. ."; _timeout=window.setTimeout(adRotator.load,10) } }}; adRotator.play=function() { with (adRotator) { if( _f ) { _html = ""; _html += '<table style="border:1px solid #333333;"><tr><td style="font-size:9pt;font-family:tahoma;font-weight:bold;">' _html += '<div id="rotatorPlayer"' + ' style="width:' + _w + '' + ';height:"' + _h + '"' + '>' _html += '<a href="' + ( _l[_c] ? _l[_c] : "javascript:void(0);" ) + '">'; _html += '<img id="rotatorPic" src="' + _p[_c] + '" ' + ' 너비="' + _w + '"' + ' 높이="' + _h + '"' + (_t[_c]?' title="' + _t[_c] + '"':'') + ' style="border:1px 단색 파란색;FILTER:revealTrans(transition=' + _x + ',duration=1);"' + ' >' _html += (_t[_c]?('<div align= "center">' + (_c+1) + '. ' + _t[_c] + '</div>'):'<p></p>'); _html += "</div>"; _html += '<div align="right">'; for(var i=0; i<_p.length; i++) _html += '<span' + ' style= "테두리:1px 솔리드 #333333;패딩:1px 5px 1px 5px;높이:20px;text-align:center;cursor:' + (_c==i ? ('default; background-color:red;"') : ' hand;" onclick="adRotator.select(' + i + ')"') + '>' + (i>8?(i+1):('0'+(i+1)))+ '< /스팬> '; _html += "</div></td></tr></table>"; getRef(_o).innerHTML = _html; getRef("rotatorPic").filters[0].Apply(); getRef("rotatorPic").filters[0].Play(); 다음(); } else { _i.src = _p[_c]; adRotator.load(); } }}; adRotator.next=function() { with (this) { (_p.length-1==_c) ? _c=0 : _c++; _timeout=window.setTimeout(adRotator.play,_s*1000); }}; adRotator.select=function(i) { with (this) { window.clearTimeout(_timeout); _c=i; adRotator.play(); }}; adRotator.set=function(second) { with (this) { window.clearTimeout(_timeout); if((/d+/).test(초)==true) { _s=초; adRotator.play(); } else { 경고("숫자여야 합니다!") adRotator.play(); } }}; function getRef(id) { return (document.all?document.all(id):document.getElementById(id)); } adRotator.initialize("AdRotator"); adRotator.add("","aa","http://www.downcodes.com") adRotator.add("") adRotator.add("") adRotator.add("") adRotator.add("" ) adRotator.play(); //--> </SCRIPT> </BODY> </HTML>