한국어
<!-- http://www.downcodes.com --> <!-- bbs http://bbs.downcodes.com --> <!--1、将下面的代码插入到HEML的<head> </head> 之间: --> <script 언어=javaScript> <!--// sandra0 = new Image(); sandra0.src = "image1.gif"; sandra1 = 새 이미지(); sandra1.src = "image2.gif"; sandra2 = 새 이미지(); sandra2.src = "image3.gif"; var i_strngth=1 var i_image=0 var imageurl = new Array() imageurl[0] ="/u/info_img/2009-06/20/4512_logo.gif" imageurl[1] ="" imageurl[2] ="" function showimage() { if(document.all) { if (i_strngth <=110) { testimage.innerHTML="<img style='filter:alpha(opacity="+i_strngth+")' src="+imageurl[i_image] +" 테두리=0>"; i_strngth=i_strngth+10 var 타이머=setTimeout("showimage()",100) } else {clearTimeout(timer) var 타이머=setTimeout("hideimage()",1000) } } if(document.layers) {clearTimeout(타이머 ) document.testimage.document.write("<img src="+imageurl[i_image]+" border=0>") document.close() i_image++ if (i_image >= imageurl.length) {i_image=0} var 타이머 =setTimeout("showimage()",2000) } } function hideimage() { if (i_strngth >=-10) { testimage.innerHTML="<img style='filter:alpha(opacity="+i_strngth+")' src ="+imageurl[i_image]+" 테두리=0>"; i_strngth=i_strngth-10 var 타이머=setTimeout("hideimage()",100) } else {clearTimeout(timer) i_image++ if (i_image >= imageurl.length) {i_image=0} i_strngth=1 var 타이머=setTimeout("showimage ()",500) } } //--> </script> <!--2、修改<body>语句为:--> <body onLoad="showimage()"> <!--3、将하단의 현대적인 <body></body> 의 间:top:120px;left:240px可以设정显示的位置--> <div id="testimage" style="position:absolute;visibility:visible ;상단:120px;왼쪽:240px"></div>