Indonesia
<!-- bbs http://www.downcodes.com/bbs--> <!-- 把下列代码加到<head>区域内 --> <SCRIPT bahasa=JavaScript> var isCSS = false; var isW3C = salah; var isIE4 = salah; var isNN4 = salah; var isIE6 = salah; var isGecko = salah; var isOpera = salah; var isDHTML = salah; var supresMenus = salah; fungsi autoconfig() { if(document && document.images) { isCSS = (document.body && document.body.style) ? benar : salah; isW3C = (isCSS && dokumen.getElementById) ? benar : salah; isIE4 = (isCSS && document.all && readIEVer() >= 4.0) ? benar : salah; isNN4 = (dokumen.lapisan) ? benar : salah; isGecko = (isCSS && navigator && navigator.product && navigator.product == "Gecko"); isOpera = (isCSS && navigator.userAgent.indexOf( "Opera") != -1 ); isIE6CSS = (document.compatMode && document.compatMode.indexOf("CSS1") >= 0) ? benar : salah; isIE6 = ( isIE6CSS && readIEVer() >= 6.0 ); isDHTML = isCSS && ( isIE4 || isGecko || isOpera ); if( supresMenus || ( isOpera && readOperaVer() < 7 ) || ( isGecko && navigator.productSub <= 20011022 ) || ( isGecko && navigator.productSub == 20030107 ) ) { // Opera 6.x sepertinya tidak menyukai DHTML... // Netscape 6.2 meletakkan menu di tempat yang salah... // Safari, menu tidak hilang... masalah di ResetMenu isDHTML = false; } } } fungsi readIEVer() { var agen = navigator.userAgent; var offset = agen.indexOf( "MSIE" ); if( offset < 0 ) { kembali 0; } kembalikan parseFloat( agen.substring( offset + 5, agen.indexOf( ";", offset ) ) ); } function montage( href, src, caption, width, animate ) { // hal ini berlaku untuk browser yang tidak mendukung filter... var cycle = Math.floor( Math.random() * href.length ); // matikan animasi jika kita tidak menggunakan broadband var m_montage = ( typeof(animate) != "undefinisi" ? animate : hasBroadband() ); if( m_montage == false || src.length <= 1 || !( isIE4 || isW3C ) ) { montagePicker( href, src, caption, cycle ); kembali; } // buat semua DIV yang disarangkan monIdx = cycle; document.writeln( "<div id="container" style="lebar:" + lebar +"px;tinggi:112px">" ); for( i = 0; i < src.length; i++ ) { // siapkan dokumen pengganti.writeln( "t<div id="montage" + i + "" style="display:none ">" ); montagePicker( href, src, keterangan, saya ); dokumen.writeln( "t</div>" ); } dokumen.writeln( "</div>" ); // menarik keluar gambar monBlock = new Array( src.length ); monImg = Array baru( src.panjang ); for( i = 0; i < src.length; i++ ) { monBlock[i] = document.getElementById( "montage" + i ).style; monImg[i] = dokumen.getElementById( "monimg" + i ); if( monImg[i] == null ) { montagePicker( href, src, keterangan, i ); kembali; } // peringatan("foo" ); } monContainer = document.getElementById("wadah"); montageEffects(); } fungsi montageEffects() { var nextImage = (monIdx + 1) % monImg.length; // jalankan transisi if( readIEVer() >= 4.0 ) { monContainer.style.filter = "blendTrans(duration=1.5) mengungkapkanTrans(duration=1.0,transition=7)"; monContainer.filters(0).apply(); monContainer.filters(1).apply(); montageSelect( gambar berikutnya ); monContainer.filters(0).play(); monContainer.filters(1).play(); } else { montageSelect( nextImage ); } // diminta untuk dipanggil lagi nanti setTimeout( "montageSwap()", monTimeout ); } fungsi montageSelect( nextImage ) { //alert( monImg[monIdx].style.visibility ); monBlock[monIdx].display = "tidak ada"; monIdx = Gambar berikutnya; monBlock[monIdx].display = "blok"; } function montageSwap() { if( monImg[monIdx].complete ) { // memindahkan indeks gambar sepanjang montageEffects(); } else { // periksa lagi 3 detik kemudian setTimeout( "montageSwap()", 3000 ); } } function montagePicker( href, src, caption, cycle ) { if( href[cycle] != null ) { document.writeln( "tt<A HREF="" + href[cycle] + "" ><IMG SRC="" + src[siklus] + "" alt="" + keterangan[siklus] + "" BORDER="0" ID="monimg" + siklus + "" ></a>" ); } else { document.writeln( "tt<IMG SRC="" + src[siklus] + "" ID="monimg" + siklus + "">" ); } } fungsi hasBroadband() { if( readIEVer() < 5.0 ) { return false; } coba { document.body.addBehavior ("#default#clientCaps"); return ( typeof(document.body.connectionType) != "tidak terdefinisi" && document.body.connectionType == "lan" ); } tangkapan( e ) { kembali salah; } } //javascript lainnya dari http://www.downcodes.com </SCRIPT> <!-- 把下列代码加到<body>区域内 --> <TABLE cellSpacing=0 cellPadding=0 border=0> < TBODY> <TR> <Lebar TD=122> <Bahasa SKRIP=Jenis JavaScript=teks/javascript> autoconfig(); monTimeout = 2000; var url = Array baru(); var imgs = Array baru(); var caps = Array baru(); urls[0] = "http://www.downcodes.com"; imgs[0] = "/img/200406301.jpg"; huruf kapital[0] = "说明一"; urls[1] = "http://www.downcodes.com"; imgs[1] = "/img/200406302.jpg"; huruf kapital[1] = "说明二"; urls[2] = "http://www.downcodes.com"; imgs[2] = "/img/200406303.jpg"; huruf kapital[2] = "说明三"; urls[3] = "http://www.downcodes.com"; imgs[3] = "/img/200406304.jpg"; huruf kapital[3] = "说明四"; urls[4] = "http://www.downcodes.com"; imgs[4] = "/img/200406305.jpg"; huruf kapital[4] = "说明五"; montase( url, imgs, caps, 461 ); </SCRIPT> </TD></TR> </TBODY></TABLE>