- Back to Home »
- Tutorial Blog »
- Cara Memasang Widget Translate Dengan Gambar Bendera
Posted by : Unknown
Tuesday, 25 February 2014
Pernahkah
sobat melihat di statistik blog sobat dan melihat bahwa ada pengunjung
yang berasal dari negara lain ? itu terjadi karena kata kunci yang di
ketik di mesin pencari mungkin sama dengan judul postingan sobat atau
tulisan sobat,tapi mungkin orang itu juga tidak akan berlama-lama di
blog sobat karena belum tentu orang luar bisa berbahasa indonesia,untuk
mempertahankan visitor blog sobat, sobat harus menggunakan widget google
translate,..
yang akan ane bahas pada postingan kali ini yaitu:
cara memasang widget translate dengan gambar bendera
nah mungkin kalau tampilan widget translate dengan gambar bendera akan lebih terlihat cantik bukan?
jika tertarik langsung di simak gan ^_^
1.login blogger
2.tata letak
3.tambahkan gadget
4.HTML/JavaScript
5.dan masukan salah satu kode berikut dan simpan
Copy kode berikut
<style>
.google_translate img {
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
border:0;
}
.google_translate:hover img {
filter:alpha(opacity=30);
-moz-opacity: 0.30;
opacity: 0.30;
border:0;
}
.google_translatextra:hover img {
filter:alpha(opacity=0.30);
-moz-opacity: 0.30;
opacity: 0.30;
border:0;
}
</style>
<div>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="English" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cen&hl=en'); return false;"><img alt="English" border="0" align="absbottom" title="English" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0nFuThgsjKE_AYsNFERzAtY7IQgBB7iYKllRjbQWagUjfkcctlkoPye6KzO9FUedsLDbPZoB487cyddIyMD456QNuSEejl9VheePEAGroTaZtuX90swascDPeduhYEw5Y7-a5hyphenhyphendTfDE/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="French" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cfr&hl=en'); return false;"><img alt="French" border="0" align="absbottom" title="French" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh77TorVhd3sPs8k_4rL5hOF89E-jxcorQ_RfbxExNO-LwHYRdtXsr4vtgNGa8XpcwO1r4tpdwa1UrGuvC9i886W950ul3wUPhUlX6BEGcEEi_GcyAwM10wdgJyKwB39_rpVmK5_U5VkLQ/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="German" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cde&hl=en'); return false;"><img alt="German" border="0" align="absbottom" title="German" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGVJQdwCsgJw6NHcqcNz9VS8bn61PEXxLHa_O7qt4ccM_COZf_JhhfP9o8cxeDQ_ag4iGbFMcMZDL2cXD3mXowEdJ4jFzhn7z2NP_bSeEt6v3CcByzQ_hJkraTF0vberkscemsZnLak8XU/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Spain" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Ces&hl=en'); return false;"><img alt="Spain" border="0" align="absbottom" title="Spain" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimbKo2h5mmGKZj0VJfR4UVRMRLR-TQcCL2DYctogx5D7NdfOF3Ot_UFR1bStVl3yv6cwLd33TwapvDIT8nqyzZ3WrDYFHuHi3lI6uxk2fB5YofFsmLJXdAMyrVvUxsN1_OztQvZ-zvUBji/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Italian" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cit&hl=en'); return false;"><img alt="Italian" border="0" align="absbottom" title="Italian" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigxnspJmyvcRSMZMsvMKwIcwS8DVaIil9kUQzYcNjbmSfYJR-A2Fm8Jx5D5M_OIzMsFv_1mq9z5r4qfOymhSi_Kme0m6SIHGGdKQlAEeIBjaIr_J-Mv9-7xaeY8xq6I62NH_X37hz7Rho/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Dutch" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cnl&hl=en'); return false;"><img alt="Dutch" border="0" align="absbottom" title="Dutch" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3H3LobgXC9u3lbGSqLqnCrK6cI-byMdXagKlVxYcwTNH0i-kJ-tszr6d_o-Pduv2rhAGlFNgxOXnZ6UyguXA4TNdeduV5BZzsh2Q5FWzvMKOP_p7Q9KYcPPq_Ktb2WZqAb5B2czzUVRY/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Russian" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cru&hl=en'); return false;"><img alt="Russian" border="0" align="absbottom" title="Russian" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxuWkJK9NtTyJx9-Yar5a7KfU046b_shk97ch_w9TxwTP-bDQqWsn5iUPFDLj63AI57SypZpwuBji54Ev2Q-n_Goy_OrwoejzNvYNh7Bax7tlDHcg6EOSAccpk6sUkVp7nTuQZVRMOS5E/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Portuguese" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cpt&hl=en'); return false;"><img alt="Portuguese" border="0" align="absbottom" title="Portuguese" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHduq4No0HNvE5LGhvFQkpuH8Vt1QiVMpj3uuL9czgNzZNxSwlvQ7lSh_Jn3Np4Xn0zQIijKclRBnO3z323qh14Jz5mF2kd4sQCeb4CdhoZLWGFXtrhc0E96IuB0RvdkX3pUqXeW8TSOI/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Japanese" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cja&hl=en'); return false;"><img alt="Japanese" border="0" align="absbottom" title="Japanese" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRakTPtZ2SpWB8zJ8TBYYMuTGFCnGBWN3PmQ8PK0JlLWfxVvV3i_yui0UD6dn2yXGUR4q8z4tLLfojDSXYDHW2zzm-AxARGP6_dDXI-ehoVMRZoTNOxmNKviephfPGISRx3PcM_2OOonZ_/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Korean" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cko&hl=en'); return false;"><img alt="Korean" border="0" align="absbottom" title="Korean" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8ZguWasazsLIdOl95no9d5fHcdCt09UctTaIT95Vpo2uFEp7TXM4O7BRS5MtQoMXLmVOqmfvGCLPENb0w-UlrWDocYta-kCpsVGov8Y0ZnGZ9c8A4An-mm8QPnZs3tQ123HEO5mdyOCY/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Arabic" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Car&hl=en'); return false;"><img alt="Arabic" border="0" align="absbottom" title="Arabic" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiB3cCrt7CvxHCd7bFiBX3pbrieAT9BooAZB8zSa3atTzK7a-lki6QvvEoQFiybAc5-WBcScp2TUju4PtdUPaG7R8VBA8Y0EjTZJr5Z8sbE7Ro3bLdyLYvuCmkXFqiieFWlYe3OurFTDmM/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Chinese Simplified" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Czh-CN&hl=en'); return false;"><img alt="Chinese Simplified" border="0" align="absbottom" title="Chinese Simplified" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6MhrqHSiSXJ7nYegdOCxaiALkwBmWe_4fd45ZsYPIRR6pG3vyF0mcreVoduYkjVG53zxONPlJf53yzrSlE26ynEXi8un-5bStk9iR_7E-c-bZvwSn0Gwg9ETq4twvjiwoIawpWGBQ3Hg/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
selamat mencoba.. ^_^
yang akan ane bahas pada postingan kali ini yaitu:
cara memasang widget translate dengan gambar bendera
nah mungkin kalau tampilan widget translate dengan gambar bendera akan lebih terlihat cantik bukan?
jika tertarik langsung di simak gan ^_^
2.tata letak
3.tambahkan gadget
4.HTML/JavaScript
5.dan masukan salah satu kode berikut dan simpan
<style>
.google_translate img {
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
border:0;
}
.google_translate:hover img {
filter:alpha(opacity=30);
-moz-opacity: 0.30;
opacity: 0.30;
border:0;
}
.google_translatextra:hover img {
filter:alpha(opacity=0.30);
-moz-opacity: 0.30;
opacity: 0.30;
border:0;
}
</style>
<div>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="English" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cen&hl=en'); return false;"><img alt="English" border="0" align="absbottom" title="English" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0nFuThgsjKE_AYsNFERzAtY7IQgBB7iYKllRjbQWagUjfkcctlkoPye6KzO9FUedsLDbPZoB487cyddIyMD456QNuSEejl9VheePEAGroTaZtuX90swascDPeduhYEw5Y7-a5hyphenhyphendTfDE/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="French" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cfr&hl=en'); return false;"><img alt="French" border="0" align="absbottom" title="French" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh77TorVhd3sPs8k_4rL5hOF89E-jxcorQ_RfbxExNO-LwHYRdtXsr4vtgNGa8XpcwO1r4tpdwa1UrGuvC9i886W950ul3wUPhUlX6BEGcEEi_GcyAwM10wdgJyKwB39_rpVmK5_U5VkLQ/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="German" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cde&hl=en'); return false;"><img alt="German" border="0" align="absbottom" title="German" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGVJQdwCsgJw6NHcqcNz9VS8bn61PEXxLHa_O7qt4ccM_COZf_JhhfP9o8cxeDQ_ag4iGbFMcMZDL2cXD3mXowEdJ4jFzhn7z2NP_bSeEt6v3CcByzQ_hJkraTF0vberkscemsZnLak8XU/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Spain" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Ces&hl=en'); return false;"><img alt="Spain" border="0" align="absbottom" title="Spain" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimbKo2h5mmGKZj0VJfR4UVRMRLR-TQcCL2DYctogx5D7NdfOF3Ot_UFR1bStVl3yv6cwLd33TwapvDIT8nqyzZ3WrDYFHuHi3lI6uxk2fB5YofFsmLJXdAMyrVvUxsN1_OztQvZ-zvUBji/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Italian" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cit&hl=en'); return false;"><img alt="Italian" border="0" align="absbottom" title="Italian" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigxnspJmyvcRSMZMsvMKwIcwS8DVaIil9kUQzYcNjbmSfYJR-A2Fm8Jx5D5M_OIzMsFv_1mq9z5r4qfOymhSi_Kme0m6SIHGGdKQlAEeIBjaIr_J-Mv9-7xaeY8xq6I62NH_X37hz7Rho/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Dutch" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cnl&hl=en'); return false;"><img alt="Dutch" border="0" align="absbottom" title="Dutch" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3H3LobgXC9u3lbGSqLqnCrK6cI-byMdXagKlVxYcwTNH0i-kJ-tszr6d_o-Pduv2rhAGlFNgxOXnZ6UyguXA4TNdeduV5BZzsh2Q5FWzvMKOP_p7Q9KYcPPq_Ktb2WZqAb5B2czzUVRY/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Russian" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cru&hl=en'); return false;"><img alt="Russian" border="0" align="absbottom" title="Russian" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxuWkJK9NtTyJx9-Yar5a7KfU046b_shk97ch_w9TxwTP-bDQqWsn5iUPFDLj63AI57SypZpwuBji54Ev2Q-n_Goy_OrwoejzNvYNh7Bax7tlDHcg6EOSAccpk6sUkVp7nTuQZVRMOS5E/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Portuguese" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cpt&hl=en'); return false;"><img alt="Portuguese" border="0" align="absbottom" title="Portuguese" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHduq4No0HNvE5LGhvFQkpuH8Vt1QiVMpj3uuL9czgNzZNxSwlvQ7lSh_Jn3Np4Xn0zQIijKclRBnO3z323qh14Jz5mF2kd4sQCeb4CdhoZLWGFXtrhc0E96IuB0RvdkX3pUqXeW8TSOI/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Japanese" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cja&hl=en'); return false;"><img alt="Japanese" border="0" align="absbottom" title="Japanese" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRakTPtZ2SpWB8zJ8TBYYMuTGFCnGBWN3PmQ8PK0JlLWfxVvV3i_yui0UD6dn2yXGUR4q8z4tLLfojDSXYDHW2zzm-AxARGP6_dDXI-ehoVMRZoTNOxmNKviephfPGISRx3PcM_2OOonZ_/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Korean" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cko&hl=en'); return false;"><img alt="Korean" border="0" align="absbottom" title="Korean" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8ZguWasazsLIdOl95no9d5fHcdCt09UctTaIT95Vpo2uFEp7TXM4O7BRS5MtQoMXLmVOqmfvGCLPENb0w-UlrWDocYta-kCpsVGov8Y0ZnGZ9c8A4An-mm8QPnZs3tQ123HEO5mdyOCY/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Arabic" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Car&hl=en'); return false;"><img alt="Arabic" border="0" align="absbottom" title="Arabic" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiB3cCrt7CvxHCd7bFiBX3pbrieAT9BooAZB8zSa3atTzK7a-lki6QvvEoQFiybAc5-WBcScp2TUju4PtdUPaG7R8VBA8Y0EjTZJr5Z8sbE7Ro3bLdyLYvuCmkXFqiieFWlYe3OurFTDmM/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Chinese Simplified" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Czh-CN&hl=en'); return false;"><img alt="Chinese Simplified" border="0" align="absbottom" title="Chinese Simplified" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6MhrqHSiSXJ7nYegdOCxaiALkwBmWe_4fd45ZsYPIRR6pG3vyF0mcreVoduYkjVG53zxONPlJf53yzrSlE26ynEXi8un-5bStk9iR_7E-c-bZvwSn0Gwg9ETq4twvjiwoIawpWGBQ3Hg/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
selamat mencoba.. ^_^