Indonesia
<!-- 把如下代码加入<body>区域中 --> <!-- Disimpan Dari url=http://www.downcodes.com/js --> <!-- Desain Web bbs url=http:/ /www.downcodes.com/bbs--> <style type="text/css"> <!-- .topnewstitle { font-family: 宋体; ukuran font: 10pt; A:hover {warna:biru;dekorasi teks:garis bawah } } #topdeck { display:block; kiri: 0 piksel; atas: 0 piksel; posisi: mutlak; visibilitas: tersembunyi; indeks-z: 100; } .content { ukuran font: 10pt; font-family: 宋体; warna: #000000; } //--> </style> <script> var isNS4=(document.layers) ? 1 : 0; var isIE4=(dokumen.semua)? 1 : 0; var isMoz=((document.getElementById) && !(isIE4)) ? 1 :0; fungsi ShowNavigateur() { peringatan(isNS4); peringatan(isIE4); peringatan(isMoz); } fungsi activation_mousemove(function_mouse) { if(isNS4||isMoz) document.captureEvents(Event.MOUSEMOVE); dokumen.onmousemove = function_mouse; } fungsi get_mouse(e) { var mouse=Array baru(); mouse.x=0; mouse.y=0; if(isNS4||isMoz){ mouse.x=e.pageX; mouse.y=e.halamanY; }else if(isIE4){ mouse.x=event.x+document.body.scrollLeft; mouse.y=event.y+document.body.scrollTop; } kembalikan tikus; } fungsi get_layer(nama) { if(isNS4){ layer=findLayer(nama, dokumen); //if(layer==null) //alert('Pb lapisan'); lapisan kembali; } else if (isIE4){ //window.status=document.all[nama]; kembalikan dokumen.semua[nama]; } else if (isMoz) { return document.getElementById(nama); } //alert('Nomor Nama'); kembalikan nol; } fungsi findLayer(nama, dokumen) { var i, lapisan; //alert(doc.lapisan.panjang); untuk (i = 0; i < doc.layers.length; i++) { layer = doc.layers[i]; //alert(layer.nama); if (layer.name == name) mengembalikan lapisan; if (layer.document.layers.length > 0) if ((layer = findLayer(name, layer.document)) != null) mengembalikan lapisan; } mengembalikan nol; } function hide_layer(layer) { if(layer==null){ //window.status="Pas de layer ?cacher"; kembali; } if (isNS4){ layer.visibilitas = "sembunyikan"; } if (isIE4||isMoz){ layer.style.visibility = "tersembunyi"; } } fungsi show_layer(layer) { if(isNS4){ layer.visibility = "show"; } if(isIE4||isMoz){ layer.style.visibility = "terlihat"; } } fungsi move_layer_to(lapisan, x, y) { //window.status=lapisan; if (isNS4) { layer.moveTo(x, y); } if (isIE4||isMoz){ //window.status=layer.style; lapisan.gaya.kiri = x; lapisan.gaya.top = y; } } fungsi setzIndex(lapisan, z) { if(isNS4) lapisan.zIndex = z; if(isIE4||isMoz) lapisan.style.zIndex = z; } fungsi modifikasi_konten_lapisan(lapisan,konten) { if(isNS4){ lapisan.dokumen.tulis(konten); lapisan.dokumen.tutup(); } else if(isIE4||isMoz){ layer.innerHTML=konten; } } </script> <div class="popup" id="topdeck"></div> <p align="center"> <script Language="Javascript"> <!-- var adroite = false; aktifkan_mousemove(get_mouse2); fungsi tux(judul, teks, estadroite) { adroite = estadroite; konten var; if (adroite) content = "<tabel border=0 width=300 cellpadding=0 Cellspacing=0><tr><td width=100> </td><td width=200><table border=0 cellpadding= 0 spasi sel=0 bgcolor="#000000" lebar=200><tr tinggi=2><td><img src="../wydh/images/135/pixel.gif"></td> </tr><tr><td align=center><tabel border=0 cellpadding=2 Cellspacing=0 lebar=196 bgcolor=putih class="content"><tr><td bgcolor=white><center> <b>"+judul+"</b></center>"+teks+"</td></tr></tabel></td></tr></tabel></td></tr ><tr><td><img src="../wydh/images/135/w15.gif"></td><td valign=top><img src="../wydh/images /135/bulle-g.gif"></td></tr></tabel>"; else content = "<batas tabel=0 lebar=300 cellpadding=0 spasi sel=0><tr><td lebar=200> <batas tabel=0 cellpadding=0 spasi sel=0 bgcolor=lebar hitam=200><tr height=2><td></td></tr><tr><td align=center><tabel border=0 cellpadding=2 Cellspacing=0 lebar=196 bgcolor=white class="content">< tr><td bgcolor=putih><center><b>"+judul+"</b></center>"+teks+"</td></tr></table></td></tr> </table></td><td width=100></td></tr><tr><td valign=top></td><td></td></tr></table> "; l=get_layer("dek teratas"); modifikasi_konten_lapisan(l,konten) tampilkan_lapisan(l); } fungsi get_mouse2(e) { mouse=get_mouse(e); l=get_layer("dek teratas"); var x = mouse.x; var y = mouse.y; jika(cerdas) x=x+15; lain x=x-315; pindahkan_lapisan_ke(l,x,y); } fungsi mematikan() { l=get_layer("topdeck"); sembunyikan_lapisan(l); } fungsi MM_preloadImages() { //v3.0 var d=dokumen; if(d.gambar){ if(!d.MM_p) d.MM_p=Array baru(); var i,j=d.MM_p.length,a=MM_preloadImages.argumen; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=Gambar baru; d.MM_p[j++].src=a[i];}} } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.panjang&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } fungsi MM_findObj(n, d) { //v3.0 var p,i,x; if(!d) d=dokumen; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.semua) x=d.semua[n]; untuk (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); kembalikan x; } fungsi MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.argumen; document.MM_sr=Array baru; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } // --> </script> <a href="#" class="topnewstitle" onmouseout="kill()" onmouseover="javascript:tux('链接title可以做成这样哟', '用onmouseover来冒充一下title,你 可以再美化一下这个界面 ', false)">鼠标移过来看看</a>