Indonesia
<!-- 把下列代码加到<body>区域内 --> <SCRIPT LANGUAGE="JavaScript"> <!-- Awal JavaScript - // javascript lainnya dari http://www.downcodes.com // the URL gambar Anda. Tambahkan gambar sebanyak yang Anda suka var imgsname = new Array() imgsname[0]="/img/200406301.jpg" imgsname[1]="/img/200406302.jpg" imgsname[2]="/img/200406303 .jpg" // tautan gambar Anda var imgsurl = new Array() imgsurl[0]="http://www.downcodes.com" imgsurl[1]="http://www.downcodes.com" imgsurl[2]="http://www.downcodes.com" // target tautan Anda. Nilai yang diterima: '_blank', '_self', '_top' // '_parent' atau nama jendela Anda var linktarget="_blank" // penghentian setiap gambar(detik) var jeda=3 // posisi horizontal gambar tayangan slide (jarak ke margin kiri jendela browser, piksel) var posleft=5 // posisi vertikal tayangan slide (jarak ke margin atas jendela browser, piksel) var postop=5 // jangan edit kode di bawah var contentimage="" var i_image=0 var i_stepwave=0 var i_maxstepwave=40 var imgpreload=new Array() for (i=0;i<=imgsname.length-1;i++) { imgpreload[i]=baru Gambar() imgpreload[i].src=imgsname[i] } jeda=jeda*1000 fungsi memulai() { contentimage="<a href='"+imgsurl[i_image]+"' target='"+linktarget+"' ><img src='"+imgsname[i_image]+"' border='0'></a>" if (document.all) { waveimage.innerHTML=contentimage waveimage.style.posLeft=posleft waveimage.style.posTop =postop pembesaranwave() } if (dokumen.lapisan) { document.waveimage.left=posleft document.waveimage.top=postop changeimage() } } fungsi pembesaranwave() { if (i_stepwave<=i_maxstepwave) { waveimage.filters.wave .phase=i_stepwave waveimage.filters.wave.strength=i_stepwave waveimage.filters.wave.lightstrength=i_stepwave waveimage.filters.wave.freq=i_stepwave i_stepwave++ var timer=setTimeout("enlargewave()",50) } else { clearTimeout( timer) changeimage() } } fungsi pengurangan gelombang() { if (i_stepwave>0) { waveimage.filters.wave.phase=i_stepwave waveimage.filters.wave.strength=i_stepwave waveimage.filters.wave.lightstrength=i_stepwave waveimage.filters. wave.freq=i_stepwave i_stepwave-- var timer=setTimeout("reducewave()",50) } else { clearTimeout(timer) var timer=setTimeout("enlargewave()",pause) } } function changeimage() { i_image++ if (i_image>=imgsname.length) {i_image=0} contentimage="<a href='"+imgsurl[i_image]+"' target='"+linktarget+"'><img src='"+imgsname[i_image] +"' border='0'></a>" if (document.all) { waveimage.innerHTML=contentimage penguranganwave() } if (document.layers) { document.waveimage.document.write(contentimage) document.waveimage .document.close() var timer=setTimeout("changeimage()",pause) } } if (document.all) { document.write('<DIV ID="waveimage" style="position:absolute; filter:wave();"> </DIV>') } if (document.layers) { document.write('<LAYER NAME="waveimage"></LAYER>') document.close() } window.onload =memulai // - Akhir JavaScript - --> </SCRIPT>