한국어
<!-- <body> 영역에 다음 코드를 추가하세요--> <table width="750" align="center" bgcolor="#E6E6E6"> <tr> <td><SCRIPT LANGUAGE="JavaScript"> //http://www.downcodes.com의 추가 자바스크립트 var dde_para = new Array(); var dde_aa = new Array(); var dde_url = document.location.href; var dde_pp = dde_url.split("#") [1]; var jspfile = 1; var para = null; //스크롤 페이지의 너비 var scrollwidth = 740; if(dde_pp!=null && dde_pp.length) >0){ dde_para = dde_pp.split("&");} for(i=0; dde_para!=null && i<dde_para.length;i++){ dde_aa = dde_para[i].split("="); eval("var "+dde_aa[0] +"='"+dde_aa[1]+"'");} var car_num = 5; //기본 스크롤 시간 10초 var Pausebetweenimages=1000 * 8 ; var Slideimages= new Array(); //1페이지 URL 슬라이드이미지[0]="<iframe border=0 vspace=0 hspace=0 bgcolor=#888888 Name=union163com align=center marginwidth=0 marginheight=0framepacing= 0 frameborder= 0 scrolling=no width="+scrollwidth+" height="+scrollheight+" src='iframe1.htm'></iframe>"; //2페이지 스크롤 URL Slideimages[1]="<iframe border=0 vspace= 0 hspace=0 bgcolor=#888888 Name=union163com align=center marginwidth=0 marginheight=0framespacing=0frameborder=0 scrolling=no width="+scrollwidth+" height="+scrollheight+" src='iframe2.htm' >< /iframe>"; 함수 move1(whichdiv){ tdiv=eval(whichdiv) if (tdiv.style.pixelTop>0&&tdiv.style.pixelTop<=car_num){ tdiv.style.pixelTop=0 setTimeout("move1(tdiv) )" ,pausebetweenimages) setTimeout("move2(second2)",pausebetweenimages) return} if (tdiv.style.pixelTop>=tdiv.offsetHeight*-1){ tdiv.style.pixelTop-=car_num setTimeout("move1(tdiv) ", 50)} else{ tdiv.style.pixelTop=scrollheight tdiv.innerHTML=slideimages[0] if (i==slideimages.length-1) i=0 else i++}} function move2(whichdiv){ tdiv2=eval( whichdiv) if (tdiv2.style.pixelTop>0&&tdiv2.style.pixelTop<=car_num){ tdiv2.style.pixelTop=0 setTimeout("move2(tdiv2)",pausebetweenimages) setTimeout("move1(first2)",pausebetweenimages) return } if (tdiv2.style.pixelTop>=tdiv2.offsetHeight*-1){ tdiv2.style.pixelTop-=car_num setTimeout("move2(second2)",50)} else{ tdiv2.style.pixelTop=scrollheight tdiv2.innerHTML =slideimages [1] if (i==slideimages.length-1) i=0 else i++}} 함수 conmouse(){car_num=0;} 함수 cmouseout(){car_num=5;} 함수 startcroll(){ if ( document.all){ move1(first2) second2.style.top=scrollheight } else if (document.layers){ move1(document.main.document.first) document.main.document.second.top=scrollheight+5 문서. main.document.second.visibility='show'}} //--> </script> <iler id="main" width="&{scrollwidth};" height="&{scrollheight};" #ffffff "> <layer id="first" left="0" top="1" width="&{scrollwidth};"> <script 언어="JavaScript1.2"> if (document.layers) document.write (슬라이드 이미지 [0]) </script> </layer> <layer id="second" left="0" top="0" width="&{scrollwidth};" visible="hide"> <script 언어= "JavaScript1 .2"> if (document.layers) document.write(slideimages[1]) </script> </layer> </ilayer> </p> <p><script 언어="JavaScript1.2"> if ( document.all){ document.writeln('<span id="main2" style="position:relative;width:'+scrollwidth+';height:'+scrollheight+';overflow:hiden; background-color:#ffffff "> ') document.writeln('<div onMouseOver="conmouse()" onMouseOut="cmouseout()" style="position:absolute;width:'+scrollwidth+';height:'+scrollheight+';clip:ect( 0 ' +scrollwidth+' '+scrollheight+' 0);left:0;top:0">') document.writeln('<div id="first2" style="position:absolute;width:'+scrollwidth+';left :0 ;top:1;">') document.write(slideimages[0]) document.writeln('</div>') document.writeln('<div id="second2" style="position:absolute; 너비: '+scrollwidth+';left:0;top:0">') document.write(slideimages[1]) document.writeln('</div>') document.writeln('</div>') 문서 .writeln ('</span>')} startscroll() </SCRIPT></td> </tr> </table>