한국어
<!-- 헤드 영역에 다음 코드를 입력하세요 --> <script> <!-- lstart=0 loop=true speed=85 pr_step=3 // 속도, 값이 클수록 속도가 빨라집니다 newspeed=800 newspeed2= 0 function makeObj(obj,nest){ Nest=(!nest) ? '':'document.'+nest+'.' this.css=(document.layers) ? eval(nest+'document.'+obj) :eval (obj+'.style') this.scrollHeight=(document.layers) ? this.css.document.height:eval(obj+'.offsetHeight') this.scrollWidth=(document.layers) ? .width :eval(obj+'.offsetWidth') this.up=goUp this.obj = obj + "Object" eval(this.obj + "=this") return this } function goUp(speed){ if(parseInt(this .css .top)>-(this.scrollHeight-0)){ this.css.top=parseInt(this.css.top)-pr_step-1 //alert("ok") setTimeout(this.obj+".up (" +speed+")",35) //속도를 설정하면 부드러움이 더 좋습니다.}else { if(navigator.appName == "Netscape") { tome=setInterval(this.obj+".setClipne()",50 )} else { tome=setInterval('setClipie()',50) tmp=divCont.style.clip; } } } //http://www.downcodes.com의 추가 자바스크립트 function setClipne(){ //this. css.clip .right=this.css.clip.right-pr_step; //this.css.clip.left=this.css.clip.left+pr_step; //temp=parseInt(this.css.clip.right) -parseInt( this.css.clip.left); if(temp==0) {clearInterval(tome); document.divCont.document.divNews.visibility="hide"; document.divCont.visibility=" } 함수 setClipie () { newspeed2=newspeed2+pr_step; temp="ret(0px "+newspeed+"px 600px "+newspeed2+"px)" if(newspeed< newspeed2) {clearInterval(tome); divNews.style.display="none" divCont.style.display="none" } } function SlideInit(){ oSlide=makeObj('divNews','divCont') oSlide.css.top =lstart oSlide .up(speed) } function myload(){ setTimeout("slideInit()",4000); // 열 때 플래시 체류 시간 표시} myload() //--> </script> <!- -다음을 변경하세요. <body>~</body>--> <script 언어=javascript> document.write("<div id=divAll style='position:absolute;'><div id=divCont style)에 코드를 복사하세요. ='위치:절대값:386; 위쪽:0; 왼쪽:-12;<div id=divNews 스타일='위치:왼쪽: :10; 오른쪽:820'><embed src= quility=high width=602 height=525 onload=myload ></embed></div></div></div>"); </script><script 언어=javascript > { if (navigator.appName == "Netscape") {document.write("<layer id=divCont onLoad='moveToAbsolute(layer1.pageX-160,layer1.pageY);clip.height=600;clip .width= 800; visible="show";'><layer id=divNews 위치:절대; 상단:0; 왼쪽:0><embed src= quility=high width=602 height=25></embed> </layer ></layer>") } } </script>