Indonesia
<!-- bbs http://www.downcodes.com/bbs--> <!-- Tambahkan kode berikut pada area <body>--> <table width=360 height=160 cellpadding=0 Cellspacing=0 border=0><tr><td> <SCRIPT> // javascript lainnya dari http://www.downcodes.com ///////////////////////// / ///////////////////////////////////// // Tetapkan nilai tayangan slide Anda di bawah baris ini var slideurl=new Array( ) // URL slide Anda (gambar). Tambahkan sebanyak yang Anda suka slideurl[0]="/img/200406301.jpg" slideurl[1]="/img/200406302.jpg" slideurl[ 2]="/ img/200406303.jpg" var slidecomment=new Array() // Komentar untuk setiap gambar slidecomment[0]="Deskripsi gambar satu" slidecomment[1]="Deskripsi gambar dua" slidecomment[2]=" Deskripsi gambar tiga" var slidelink=new Array() // Tautan untuk slide Anda slidelink[0]="http://www.downcodes.com" slidelink[1]="http://www.downcodes.com" slidelink [2]=" http://www.downcodes.com" // Target untuk setiap tautan slide var slidetarget=new Array() slidetarget[0]="_blank" slidetarget[1]="_top" slidetarget[2] ="" // URL file suara var slidesound="http://www.downcodes.com/upfiles/20050402/20050402011004_sound_swish.wav" // Font var slidefont="Arial" // Warna font var slidefontcolor= "biru" // Ukuran font (nilai yang dapat diterima dari 1 hingga 6) var slidefontsize=2 // Lebar tayangan slide (piksel) var slidewidth=360 // Ketinggian tampilan slide (piksel) var slideheight=160 //Jeda di antara setiap slide (detik) var jedaslide=3 // Jangan edit kode di bawah baris ini // ///////////////////////////////// ///////// /// var textposition="right_auto" var slidecontent var max_space=19 var space=" " var i_substring=0 var i_space=max_space var all_space=" " var content="" var pausefade= 20 var i_slide=0 var i_filter=- 1 var nextorprevious=1 var transparansi=0 var transparansistep=5 var isloaded=false var start=false var stopshow=false var newpause=pauseslide var checkpause=200 var neximage="" var howmanycomplete= 0 var preload_slides=-1 var jedaslide= jedaslide*1000 var browserinfos=navigator.userAgent var ie=document.all&&!browserinfos.match(/Opera/)?1:0 var ns6=document.getElementById&&!document.all?1: 0 var ns4=document.layers?1 :0 var op=browserinfos.match(/Opera/) var preloadedimages=new Array() untuk (i=0;i<slideurl.length;i++){ preloadedimages[i]=new Gambar() gambar yang dimuat sebelumnya[i].src =slideurl[i] } function initslideshow4() { setimagetocache() getcontent() if (ie) { slidecontainer.innerHTML=slidecontent } if (ns6 || op) { transparansi=100 dokumen. getElementById('slidecontainer').innerHTML= slidecontent } var inittimer=setTimeout("checkifcached()",100) } function setimagetocache() { preload_slides++ if (preload_slides<=slideurl.length) { nextimage=gambar baru(); src=slideurl[preload_slides]; checkautocached( ) } } fungsi checkautocached() { if (nextimage.complete) { berapa banyak yang selesai++ setimagetocache() } else { var timer2=setTimeout("checkautocached()",checkpause); ) { stopshow=true } fungsi tayangan slide( ) { stopshow=false } fungsi checkifcached() { if (i_slide<=howmanycomplete) { if (ie) { if (textposition=="top_auto" || textposition=="bottom_auto" | |.textposition=='kiri_otomatis' ||.textposition=='kanan_otomatis' ||.textposition=='top_auto_nocontrols' ||.textposition=='bottom_auto_nocontrols') { var nextimer=setTimeout('autoslide()',newpause) } if (posisi teks =="tangan_atas" ||.teksposisi=="tangan_bawah" ||.teksposisi=="tangan_kiri" ||.teksposisi=="tangan_kanan") { jika (dimulai) { luncuran tangan() } dimulai=benar } } jika (ns6 || op) { if (textposition==" top_auto" || textposition=="bottom_auto" || textposition=="left_auto" || textposition=="right_auto" || textposition=="top_auto_nocontrols" || textposition=="bottom_auto_nocontrols ") { unfadeslide() } if ( textposition=="top_hand" || textposition=="bottom_hand" || textposition=="left_hand" || textposition=="right_hand") { if (dimulai) { fadeslidehand() } dimulai=benar } } } else { newpause =newpause-checkpause if (newpause<1200) {newpause=1200} var timer2=setTimeout("checkifcached()",checkpause); "top_auto") { slidecontent="< font face='"+slidefont+"' size='"+slidefontsize+"' color='"+slidefontcolor+"'>"+slidecomment[i_slide]+"</font><br> <a href='"+slidelink[ i_slide]+"' target='"+slidetarget[i_slide]+"'><img name='slideimage' src='"+slideurl[i_slide]+"' border=0> </a><br><a href='javascript:stopslideshow()'><font face='"+slidefont+"' size='"+slidefontsize+"' color='"+slidefontcolor+"'>berhenti</font ></a> <a href= 'javascript:playslideshow()'><font face='"+slidefont+"' size='"+slidefontsize+"' color='"+slidefontcolor+"'>mainkan</font>< /a>" } else if (posisi teks ==="bottom_auto") { slidecontent="<a href='javascript:stopslideshow()'><font face='"+slidefont+"' size='"+slidefontsize+"' color='"+slidefontcolor+"'>berhenti </font></a> <a href='javascript:playslideshow()'><font face='"+slidefont+"' size='"+slidefontsize+"' color= '"+slidefontcolor+"'>main</ font></a><br><a href='"+slidelink[i_slide]+"' target='"+slidetarget[i_slide]+"'><img name= 'slideimage' src='"+slideurl[ i_slide]+"' border=0></a><br><font face='"+slidefont+"' size='"+slidefontsize+"' color='"+slidefontcolor+ "'>"+slidecomment[i_slide]+ "</font>" } else if (textposition=="left_auto") { slidecontent="<table cellpadding=3 Cellspacing=0 border=0><tr valign=top>< td align=right><a href=' javascript:stopslideshow()'><font face='"+slidefont+"' size='"+slidefontsize+"' color='"+slidefontcolor+"'>berhenti</font>< /a> <a href='javascript: playslideshow()'><font face='"+slidefont+"' size='"+slidefontsize+"' color='"+slidefontcolor+"'>mainkan</font></a ><br><br><font face ='"+slidefont+"' size='"+slidefontsize+"' color='"+slidefontcolor+"'>"+slidecomment[i_slide]+"</font></td> <td><a href='"+ slidelink[i_slide]+"' target='"+slidetarget[i_slide]+"'><img name='slideimage' src='"+slideurl[i_slide]+"' batas =0></a></td ></tr></table>" } else if (textposition=="right_auto") { slidecontent="<table cellpadding=3 Cellspacing=0 border=0><tr valign =top><td><a href= '"+slidelink[i_slide]+"' target='"+slidetarget[i_slide]+"'><img name='slideimage' src='"+slideurl[i_slide]+ "' border=0></a> </td><td><a href='javascript:stopslideshow()'><font face='"+slidefont+"' size='"+slidefontsize+"' color=' "+slidefontcolor+"'>berhenti</font ></a> <a href='javascript:playslideshow()'><font face='"+slidefont+"' size='"+slidefontsize+"' color='"+ slidefontcolor+"'>mainkan</font>< /a><br><br><font face='"+slidefont+"' size='"+slidefontsize+"' color='"+slidefontcolor+"'>"+slidecomment[ i_slide]+"</font></ td></tr></table>" } else if (textposition=="top_auto_nocontrols") { slidecontent="<font face='"+slidefont+"' size='" +slidefontsize+"' color='"+slidefontcolor+ "'>"+slidecomment[i_slide]+"</font><br><a href='"+slidelink[i_slide]+"' target='"+slidetarget[i_slide ]+"'><img name=' slideimage' src='"+slideurl[i_slide]+"' border=0></a>" } else if (textposition=="bottom_auto_nocontrols") { slidecontent="<a href='"+slidelink[i_slide]+ "' target='"+slidetarget[i_slide]+"'><img name='slideimage' src='"+slideurl[i_slide]+"' border=0></ a><br><font face=' "+slidefont+"' size='"+slidefontsize+"' color='"+slidefontcolor+"'>"+slidecomment[i_slide]+"</font>" } else if (posisi teks =="top_hand") { slidecontent=" <font face='"+slidefont+"' size='"+slidefontsize+"' color='"+slidefontcolor+"'>"+slidecomment[i_slide]+"</font>< br><a href='"+slidelink [i_slide]+"' target='"+slidetarget[i_slide]+"'><img name='slideimage' src='"+slideurl[i_slide]+"' border= 0></a><br>< a href='javascript:checkifcached()'><font face='"+slidefont+"' size='"+slidefontsize+"' color='"+slidefontcolor+"'>selanjutnya< /font></a>" } else if (textposition=="bottom_hand") { slidecontent="<a href='javascript:checkifcached()'><font face='"+slidefont+"' size='"+ slidefontsize+"' color='"+slidefontcolor+" '>selanjutnya</font></a><br><a href='"+slidelink[i_slide]+"' target='"+slidetarget[i_slide]+"' ><img nama='slideimage' src= '"+slideurl[i_slide]+"' border=0></a><br><font face='"+slidefont+"' size='"+slidefontsize+"' warna ='"+slidefontcolor+"'>"+ slidecomment[i_slide]+"</font>" } else if (textposition=="left_hand") { slidecontent="<table cellpadding=3 Cellspacing=0 border=0><tr valign=top><td align=right> <a href='javascript:checkifcached()'><font face='"+slidefont+"' size='"+slidefontsize+"' color='"+slidefontcolor+"'>selanjutnya </font></a><br ><br><font face='"+slidefont+"' size='"+slidefontsize+"' color='"+slidefontcolor+"'>"+slidecomment[i_slide]+"< /font></td><td> <a href='"+slidelink[i_slide]+"' target='"+slidetarget[i_slide]+"'><img name='slideimage' src='"+slideurl [i_slide]+"' border=0> </a></td></tr></table>" } else if (textposition=="right_hand") { slidecontent="<table cellpadding=3 Cellspacing=0 border=0><tr valign=top> <td><a href='"+slidelink[i_slide]+"' target='"+slidetarget[i_slide]+"'><img name='slideimage' src=' "+slideurl[i_slide]+"' border =0></a></td><td><a href='javascript:checkifcached()'><font face='"+slidefont+"' size='" +slidefontsize+"' color='"+slidefontcolor+ "'>selanjutnya</font></a><br><br><font face='"+slidefont+"' size='"+slidefontsize+"' color='" +slidefontcolor+"'>"+slidecomment[i_slide ]+"</font></td></tr></table>" } } // javascript lainnya dari http://www.downcodes.com function unfadeslide() { if (transparansi<100){ transparansi+= transparansilangkah if (ns6) { document.getElementById('slidecontainer').style.MozOpacity=transparency/100 } var fadetimer=setTimeout("unfadeslide()",pausefade) } else { clearTimeout (fadetimer) var fadetimer=setTimeout("fadeslide ()",newpause) } } function unfadeslidehand() { if (transparansi<100){ transparansi+=transparencystep if (ns6) { document.getElementById('slidecontainer').style.MozOpacity =transparency/100 } var fadetimer=setTimeout( "unfadeslidehand()",pausefade) } else { clearTimeout(fadetimer) } } function fadeslide() { if (!stopshow) { if (transparansi>0){ transparansi-=transparencystep if (ns6) { document.getElementById('slidecontainer ').style.MozOpacity=transparency/100 } var fadetimer=setTimeout("fadeslide()",pausefade) } else { var autotimer=setTimeout("autoslide()",200) } } else { var stoptimer=setTimeout(" fadeslide()",500) } } fungsi fadeslidehand() { if (transparansi>0){ transparansi-=transparencystep if (ns6) { document.getElementById('slidecontainer').style .MozOpacity=transparency/100 } var fadetimer= setTimeout("fadeslidehand()",pausefade) } else { i_slide++ if (i_slide>=slideurl.length) {i_slide=0} getcontent() document.getElementById('slidecontainer'). innerHTML=transparansi konten slide=0 var fadetimer=setTimeout ("unfadeslidehand()",500) } } function autoslide(){ if (ie) { if (!stopshow) { newpause=pauseslide i_slide++ if (i_slide>=slideurl.length) {i_slide=0} getcontent() i_filter++ if (i_filter>slidecontainer.filters.length-1) {i_filter=0} slidecontainer.filters[i_filter].apply() slidecontainer.innerHTML=slidecontent document.all.sound.src=slidesound ; slidecontainer.filters[i_filter].play() checkifcached() } else { var stoptimer=setTimeout("autoslide()",500) } } if (ns6 || op) { newpause=pauseslide i_slide++ if (i_slide>=slideurl .length) {i_slide=0} getcontent( ) document.getElementById('slidecontainer').innerHTML=slidecontent transparansi=0 i_space=max_space checkifcached() } } fungsi handslide(){ i_slide++ if (i_slide>=slideurl.length) { i_slide=0} getcontent() if (yaitu ) { i_filter++ if (i_filter>slidecontainer.filters.length-1) {i_filter=0} slidecontainer.filters[i_filter].apply() slidecontainer.innerHTML=slidecontent slidecontainer.filters[i_filter ].play() } if (ns6 | | op) { document.getElementById('slidecontainer').innerHTML=slidecontent transparansi=100 } } function simpleslideshow() { i_slide++ if (i_slide>=slideurl.length) {i_slide=0 } document.slideimage.src=gambar yang dimuat sebelumnya[i_slide ].src simpleslideshowcomment() var fadetimer=setTimeout("simpleslideshow()",pauseslide) } function simpleslideshowcomment() { if (i_space>=0){ all_space="" content=" " untuk (i=0;i<i_space ;i++) { all_space+=" " } untuk (i=0;i<slidecomment[i_slide].length;i++) { var thisletter=slidecomment[i_slide].substring(i,i +1) thisletter=thisletter+all_space content+= thisletter } window.status=content i_space-- var fadetimer=setTimeout("simpleslideshowcomment()",pausefade) } else { clearTimeout(fadetimer) i_space=max_space } } function simpleslideshowjump() { if (slidetarget[i_slide]=="_self ") { document.location.href=slidelink[i_slide] } else if (slidetarget[i_slide]=="_blank") { codepopup=window.open(slidelink[i_slide], " kode", "status=ya,lokasi= ya,bilah alat=ya,bilah menu=ya,dapat diubah ukurannya=ya,bilah gulir=ya,lebar=780,tinggi=580,atas=10,kiri=10"); } else if ( slidetarget[i_slide]=="_top") { top.location.href=slidelink[i_slide] } else if (slidetarget[i_slide]=="_parent") { parent.location.href=slidelink[i_slide] } else { var jumpto=eval("parent."+slidetarget [i_slide]) jumpto.location.href=slidelink[i_slide] } } if (ie) { document.write('<div style="position:relative;width:'+slidewidth+ 'px;height:'+slideheight+'px ;overflow:hidden">') document.write('<div id="slidecontainer" style="position:absolute;width:'+slidewidth+'px;height:'+slideheight+ 'px;top:0px;left:0px ;filter:progid:DXImageTransform.Microsoft.GradientWipe(duration=1.2,wipeStyle=1)"></div>') document.write('</div>') dokumen. write('<embed src="'+ slidesound+'" autostart="false"hidden="true">') document.write('<bgsound id="sound">') window.onload=initslideshow4 } else if ( ns6||op) { document.write( '<div style="position:relative;width:'+slidewidth+'px;height:'+slideheight+'px;overflow:hidden">') document.write('<div id="slidecontainer" style="position: absolute;width:'+slidewidth+'px;height:'+slideheight+'px;top:0px;left:0px;-moz-opacity:100"></div>') document.write('</div>' ) window.onload=initslideshow4 } else if (ns4) { document.write('<a href="javascript:simpleslideshowjump()"><img name="slideimage" src=" '+slideurl[0]+'" border =0></a>') i_slide=-1 window.onload=simpleslideshow } // javascript lainnya dari http://www.downcodes.com </script> </td ></tr></tabel>