한국어
<!-- 把如下代码加入<body>区域中 --> <!-- http://www.downcodes.com/js --> <!-- bbs http://www.downcodes.com/bbs --> <script 언어=JavaScript> <!-- // BannerAD var 배너AD=new Array(); var 배너ADlink=새 배열(); var 광고번호=0; 배너AD[0]="/img/200406301.jpg"; 배너ADlink[0]="/js"; 배너AD[1]="/img/200406302.jpg"; 배너ADlink[1]="/js"; 배너AD[2]="/img/200406303.jpg"; 배너ADlink[2]="/js"; 배너AD[3]="/img/200406304.jpg"; 배너ADlink[3]="/js"; 배너AD[4]="/img/200406305.jpg"; 배너ADlink[4]="/js"; var preloadedimages=new Array(); for (i=1;i<bannerAD.length;i++){ preloadedimages[i]=new Image(); 미리 로드된 이미지[i].src=bannerAD[i]; } function setTransition(){ if (document.all){ 배너ADrotator.filters.revealTrans.Transition=Math.floor(Math.random()*23); 배너ADrotator.filters.revealTrans.apply(); } } function playTransition(){ if (document.all) 배너ADrotator.filters.revealTrans.play() } function nextAd(){ if(adNum<bannerAD.length-1)adNum++ ; 그렇지 않으면 adNum=0; setTransition(); document.images.bannerADrotator.src=bannerAD[adNum]; 플레이전환(); theTimer=setTimeout("nextAd()", 5000); } function jump2url(){ jumpUrl=bannerADlink[adNum]; JumpTarget='_blank'; if (jumpUrl != ''){ if (jumpTarget != '')window.open(jumpUrl,jumpTarget); 그렇지 않으면 location.href=jumpUrl; } } 함수 displayStatusMsg() { status=bannerADlink[adNum]; document.returnValue = true; } //--> </script> <table border="0" cellpacing="6" cellpadding="1"> <tr> <td bgcolor="#FFFFFF"><A onmouseover="displayStatusMsg();return document.returnValue" href="javascript:jump2url()"><IMG style="FILTER: discoverTrans(duration=2,transition=20)" height=200 src="/img/200306301.jpg" width=150 border= 0 name=bannerADrotator></A> <SCRIPT 언어=JavaScript>nextAd()</SCRIPT></td> </tr> </table>