Membuat terjemahan blog dengan bendera
Hai kawan sesama Newbie. Kali ini gw mau bagi-bagi info nich.
Kamu semua pasti tau kan kalo blog kita itu ga cuma kawan-kawan blogger di Indonesia aja yang liat, tapi juga yang diluar sana. Jadi dalam kesempatan kali ini gw mau bagi info buat ngbikin Google Translate yang pake bendera gitu. Maksudnya sie biar sedikit keren aja tapi gunanya sama kok. Yaudah deh, kita langsung praktekin aja y.....
Pertama kamu ke Tata Letak trus tambah gadget yang HTML/JavaScript. Kalo udah ditambahin kamu copas code dibawah ini kedalam gadget yang kamu tambahin tadi.
<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/AVvXsEhw04awRw2iG3envuYPlSyJtUnZiR6p0Vlceel8VTU0WOkrhWfKjoyw2MpzlFt84zh2bR7DTX7SRLCCVK-2Pqkkn7ZHMqFD0eBUgTiKeEL6wcmEL_1lJVv3RlAYMBznJRSve2LoGi-haxY/?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/AVvXsEiAXW_AxlbplLnUUMMiC8ZaOpPdUUqOr73q3UqFegMhIPV68LNyN2WC8b8wO1f7xD78XZWqWsR0rg01uPjFF_SjVS-EheEebnCWngNwyGe5djlGbWRhO3kqHn1wb9RADsEK7n19Tbos9xA/?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/AVvXsEi3bHQloxZ_fzrGVHPWFVPqIaEEZ9Y34_e0qhyphenhyphenV0GKcehlcc0DkmQ_GnXoDov7nXBdrUKu_3VXT2UJWskocXKA1aJZ-uLda_U16_DSkavaVelCLeXFv6LnykKn0e9UzAkYl3olMj0-A-fxl/?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/AVvXsEhE1HVRj3TO2UzK4vhMggWQHT7mEBsL796cGppK4gs7LpZ3UxWAP-Ed7gKoLDnynczHlHKdX0CsREDdIuiAdrlmOh2TUV5nOzOyFEzQGMqqlCGGMyZrB3WrBz9lmthe2p0KnuP_eEzY3uME/?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/AVvXsEinSYrw5YtgnBKNrRG8WrwaMkCWGQZyR_n4zE3uU9gmPYdsWl0rN_IbdVbN664FwcFXdThYEmKJUVGAjXA5i5L7tOkNWmL2efit3eke79E2MQLcJY0-SktNIzSN2MKTG4eWSe_TB_cJDvs/?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/AVvXsEimBIypPhG5ME_lJr-Q1shw0IBD7F6cERw8nGtHp5hANPgWejH_PP6mjlBRaY748mB1mKUgqpVmKNOsIACevoMX3Z9KO75_N3pf0r1aa5ZZyMPy3xrsm-bbd6Ae1obT-Uh6Eihg5-YoH68/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
<br/><br/>
<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/AVvXsEjfOwXYs6FaLJ1zTUMXodLg1SwqRkkLjAPIP0qpZSe_UOdvlZ53I-loB2fBNM-X9g3VD-b4j7EgPKLIwemudy_G4d4mju5uoSSVJnwtswf_rOlZBqeB5QsAx_Q9coRJvyQefI93d3IJrf0/?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/AVvXsEivRTP4aOZOeLGLXqHwZAQgaGcDxO26a4eF5hcZFSe1aBkmYpDElN5Yr0bnJhU-gtpmMZurintOKdC5VjOs4_laJhmYXbYRsMJ-GZpjtO0leNu5CtT9zHhMrmmY3eln-64t7rpUQF0Y3wQ/?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/AVvXsEglcKJKCU1aG0X7zg0D6jSYW47j9gucPDfIwbzqTjKJeFANIGY0zP-w8A5mP1S-f_paaC5ByVjT937DEK_UvRYBNPkr_QLTkPQrAQCmU6hGBpKIK-3Sbls6prpHKGjWx2V0mugQZerwuJ7j/?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/AVvXsEg6Onxqj0vpL7Tx1jHVQSml3enfMs7GUPh3iFGhkx7lpm29piXghpb7JhtIk_wBg5f7aoaHp-RcL0EU6sNdxbg6ouOwP-j_FYpro0a_hJd4ItkCMBp7OToThacVsAjAoey8sXK23BPtr5I/?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/AVvXsEgC6pU5UiGJ0Gnx0jS8V7HFliQElbm5iTgRuo82GNkVg2oVdBxxE2rkoSnSRhc410P6FQaQbCR2Ao67moU6FhOJhd0eFgV5eO2EnPV4ZdSUyBQ5PsPad8Ub4Lah29XwEw3F7iXSvT7Ccb4/?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/AVvXsEiM8rArNxDvW_qkiseJ861R7rizUXxVeQGt1rPPedz2aK4g8bVR5fkYAhOFwbw7Ay-Xs3Q0CBVV3iGC0ibi7iy3E0UM562Lmt-Hjrm8r5HOdkwnQNt-e0BwYcEq7jDTvHrko82rKZmhrfw/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
</div> <div 0px style="font-size:10px;margin:8px" 3px>
</div>
.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/AVvXsEhw04awRw2iG3envuYPlSyJtUnZiR6p0Vlceel8VTU0WOkrhWfKjoyw2MpzlFt84zh2bR7DTX7SRLCCVK-2Pqkkn7ZHMqFD0eBUgTiKeEL6wcmEL_1lJVv3RlAYMBznJRSve2LoGi-haxY/?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/AVvXsEiAXW_AxlbplLnUUMMiC8ZaOpPdUUqOr73q3UqFegMhIPV68LNyN2WC8b8wO1f7xD78XZWqWsR0rg01uPjFF_SjVS-EheEebnCWngNwyGe5djlGbWRhO3kqHn1wb9RADsEK7n19Tbos9xA/?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/AVvXsEi3bHQloxZ_fzrGVHPWFVPqIaEEZ9Y34_e0qhyphenhyphenV0GKcehlcc0DkmQ_GnXoDov7nXBdrUKu_3VXT2UJWskocXKA1aJZ-uLda_U16_DSkavaVelCLeXFv6LnykKn0e9UzAkYl3olMj0-A-fxl/?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/AVvXsEhE1HVRj3TO2UzK4vhMggWQHT7mEBsL796cGppK4gs7LpZ3UxWAP-Ed7gKoLDnynczHlHKdX0CsREDdIuiAdrlmOh2TUV5nOzOyFEzQGMqqlCGGMyZrB3WrBz9lmthe2p0KnuP_eEzY3uME/?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/AVvXsEinSYrw5YtgnBKNrRG8WrwaMkCWGQZyR_n4zE3uU9gmPYdsWl0rN_IbdVbN664FwcFXdThYEmKJUVGAjXA5i5L7tOkNWmL2efit3eke79E2MQLcJY0-SktNIzSN2MKTG4eWSe_TB_cJDvs/?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/AVvXsEimBIypPhG5ME_lJr-Q1shw0IBD7F6cERw8nGtHp5hANPgWejH_PP6mjlBRaY748mB1mKUgqpVmKNOsIACevoMX3Z9KO75_N3pf0r1aa5ZZyMPy3xrsm-bbd6Ae1obT-Uh6Eihg5-YoH68/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
<br/><br/>
<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/AVvXsEjfOwXYs6FaLJ1zTUMXodLg1SwqRkkLjAPIP0qpZSe_UOdvlZ53I-loB2fBNM-X9g3VD-b4j7EgPKLIwemudy_G4d4mju5uoSSVJnwtswf_rOlZBqeB5QsAx_Q9coRJvyQefI93d3IJrf0/?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/AVvXsEivRTP4aOZOeLGLXqHwZAQgaGcDxO26a4eF5hcZFSe1aBkmYpDElN5Yr0bnJhU-gtpmMZurintOKdC5VjOs4_laJhmYXbYRsMJ-GZpjtO0leNu5CtT9zHhMrmmY3eln-64t7rpUQF0Y3wQ/?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/AVvXsEglcKJKCU1aG0X7zg0D6jSYW47j9gucPDfIwbzqTjKJeFANIGY0zP-w8A5mP1S-f_paaC5ByVjT937DEK_UvRYBNPkr_QLTkPQrAQCmU6hGBpKIK-3Sbls6prpHKGjWx2V0mugQZerwuJ7j/?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/AVvXsEg6Onxqj0vpL7Tx1jHVQSml3enfMs7GUPh3iFGhkx7lpm29piXghpb7JhtIk_wBg5f7aoaHp-RcL0EU6sNdxbg6ouOwP-j_FYpro0a_hJd4ItkCMBp7OToThacVsAjAoey8sXK23BPtr5I/?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/AVvXsEgC6pU5UiGJ0Gnx0jS8V7HFliQElbm5iTgRuo82GNkVg2oVdBxxE2rkoSnSRhc410P6FQaQbCR2Ao67moU6FhOJhd0eFgV5eO2EnPV4ZdSUyBQ5PsPad8Ub4Lah29XwEw3F7iXSvT7Ccb4/?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/AVvXsEiM8rArNxDvW_qkiseJ861R7rizUXxVeQGt1rPPedz2aK4g8bVR5fkYAhOFwbw7Ay-Xs3Q0CBVV3iGC0ibi7iy3E0UM562Lmt-Hjrm8r5HOdkwnQNt-e0BwYcEq7jDTvHrko82rKZmhrfw/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
</div> <div 0px style="font-size:10px;margin:8px" 3px>
</div>
Kalo code diatas udah kamu copas kamu klik save trus liat deh hasilnya.
Tidak ada komentar:
Posting Komentar