widget translate blog

Ini adalah salah satu widget yang penting karena kemungkinan besar blog kita juga akan dikunjungin oleh orang luar , bukan orang indonesia aja. Liat contohnya di pojok kanan atas blog saya, itu hasilnya. Langsung aja yaaa......

1. login ke blogger
2. Rancangan > Elemen laman
3. Tambah gadget > HTML/JavaScript
4. Copas kode ini

==================================================

<style>
.translate img {
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
border:0;
padding-left:0px;
}
.translate:hover img {
filter:alpha(opacity=50);
-moz-opacity: 0.50;
opacity: 0.50;
border:0;
}
</style>

<div style="text-align:center">
<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZn-nD3phChnIxunnpnU-9qXatJrPqu-FxrBcnUU6lZExp8owLkYm_KocFNyl8BUWJcPXVV9siD2aTuPDYzlyoqJH4-KoP_O_sT4Rl0ewTaBEduvVHe4oNlQPA6gtnJflly4ea3c79aNJM/s144/uk-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhElh5oEnnqTQxlZhi6Yf82NK1pZ2171Mq-xByeZgPUaOyGDtKNGqkueLsrgl-GNvhJ0IRTzgc0e13cG2E8u1jhPLXiPeQDOuq7ctij4j0-Ar9aFOcZKw4kJyiMDwJLO2mLi8kEkyKmDZ5I/s144/france-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZKCdJl0hYt6ABUG0KaSJjk3H_XuigYoQyJiH_-uVTSOyD64C4rbTz01WHiEdqEs7lgSVc1ZNQBNXnqg8JUW3TG7Sq7NwQsbFEfGNoCCf3K4hV0dVPXTANCvdO5JyTRQJxKMAVRiMRbtnu/s144/german-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-4e8Vh3er4Jj3atbqJh09pVU3lUkxomYk5EBCaEXnb88iftb65AaIzGnLKPyCnRVvDunIznpRA09O6diHqWwDQ3Ee-PpHUHtaCVl_ROh9z9jBcjTqoQ5I8fQ5_OFo6X1BRue5z4Uz-A1Z/s144/spain-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZLZUgEtikugZ7rYEZa303NwL0Uhx7UYwNq-C3KFdQIda034qcqM0dPTwCqywyEGCPN_cM18bUrxhhjonnjlyUIQWF7kj1pD5Z8AKt1lFtkknelGM3UVofs5XxfZVav6Uuh9wkkOb4ctYv/s144/italy-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYNaEPUyoBVN41gnx79dz5CAJ8YIATvOpQ5_sOEmkvSRUO-LSi_KvrcCZ5TOrz9PXdpBtLpwSHsBQYBgERo4Irkv2tkBQzhexou_5Sw7bObbpx5WOBTzmDuBBNxO5mkD10pyZ8-vHGlQLK/s144/dutch-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>
<br/><br/>
<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikibJsX28lI8n4g89F2R8Kr3YfSvzfE6ANMRpubWu7nObNe9uDJ42PDkpgFGn2lQLF6TS61Id_g_7z6dW0lICnndI0USiQ1a1XwHES45f3ErbX66w5Vv8PRTV0tLqsn4vP-MflrHYCh7od/s144/russian-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="translate" href="#" target="_blank" rel="nofollow" title="Brazil" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cpt&hl=en'); return false;"><img alt="Brazil" border="0" align="absbottom" title="Brazilian" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCK76r17gevCuO3ysbrSSpORYBzYw8rbzYx6sTQ7oIsir6ZTpmFIUlVjlr3fXXgdN-2okyjAQt7q6i8d-jZkQZwbI4e_olJD47qLZpA9FXzRUufZFS6CoOC5Cby6D6VJQ21FnuW8mQ0ivT/s144/brazil-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVJFW9dhREq6LqCeZuIwF5LnAy2HAsy7KxoQpRpggER3AnJiVT1Vg5pJrncRQOhVYg8Qw9oBznPzCPBDCu3OS_K6IhcufukaVZqbTkwJ1YvkvTC0BNdxhwDA4cEisE50Ja31A6DbkjoPH0/s144/japan-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFRMari9mzIl9mOD9vE-1sRZxoKc1SrXmgHPVssIvHruS_PfKRHUYiccjBmAbrx3eTr9UVZUnH3yTzoNiPianNynTaYw6An2wE2bChPCf5FeNNGqgn4BiEXj6VsRciB76ISihU-Kpxnz0a/s144/korean-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikXM9l-3Z6vo-XL8g8LKNiuW-XxvunOPzvhC24Q62O0497BgF44pWDBKwZsPnA1b2Zvb_T1iw_-8bvmo9FGQzD5RwyBA7IlmjG2n2PWlJbbn0M8pWlwR4AzkxfP4cC7_7BaJBXPI-1F1_e/s144/arab-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkIDsthV8XV65AHAJBLAwQ7hAfH7LcbDb_w5BTO7hsBPYFmjYrcVUduCEdjUAw_aE9i-v5zkpTJOzb5Y3vU9JIoQ3FPyHj7irAf-xYAC88a_QrIsUABUleyBiMDHBLIpgUDrEMYyvhFd1l/s144/china-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<div style="font-size:9px; padding:8px 0px 0px 0px">
<a href="" target="_blank">Translate Widget</a> by Google
</div></div>

==================================================

5. Simpan dan lihat hasilnya


Artikel Terkait:

4 komentar: