Wednesday, 27 July 2011

pasang Google Translate

Dashboard > Design > Add Gadget > HTML Javascript

copy and paste code kat bawah ni..

<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/AVvXsEjz-XSXlZpiB7U-7CXmJSdMv0wocA0BlhlA9uZ_QBvfikw7giHW5kXyNteiOxLP_lNlSTJZGexyOsiOWQQsBu1gxno2wa2dTHfUtsvd2Km3sh8_WgtGvw6t-xVVgfDnAC95p4LEyLV0raI/?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/AVvXsEigzDozfXJ32B40qFcv5eTmYVLCV3nF-GbYHr3UZN0cjr6mSAUbPgHSxKoQ8bYp3b-qhlxzz7nkOOrFsmyIW8_25b0Fa-bOd1x-wc8rWG8ltX7-Z-2jxzaPZNuUqYS6SQ3FfTjCBMm9ghg/?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/AVvXsEg_BV0aYzeiSriuvnVmCce880-q9v3LAqCrx6F7dAnvsZirUVs0BWGNd4UNx3jc0gV7a80MTbnAaL_YinfFL4HtXtdFspDx5uc-Nt3e_7Zd0UTL8yb-9RjmWd_4NlHjLOUYYAK0-Fu_BX2l/?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/AVvXsEhcaWfHuhZ9pT6BPJg7xs1l-zSscWIcRxhZVT0UwpzYPwJxTu2LPkAmxl62WD00VwMnBEVZ0oN3IjRjLVINA26hyLPWq0cWFYAZA09D7zekRLQ6ynDpupf9Eh0tTFBLMM1HewAMkSn2FECy/?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/AVvXsEhoQktlcQJXOrwXW5go4vgls69Iqm-TJ8otsA61s_gPBERnwOSI5IGafFzpq8AlU18LmtBYRuDDjoAbrFeGZr32cqGYYTGx9AqiYwNBHLNa9yuciscRUYhHIQC1uu780NS83NprvYqL_jM/?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/AVvXsEguAg_W7LotQskBtmhwV07a1OLQ0oTPRaEjdyJ4YBa6kP8meO2fB9dQDRjg6ESdlnCikGi712TSSSYwWbPYsMwMgt1uexOtlp4jlLyf9GGLeww8QhpIt0Wh57jpiNL7LZHta1a49XGMrBU/?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/AVvXsEiT8xLz8SDH4fxZ4Atjm55rxLSuuuWYgg1oele6ZnxJwY7-F5ivixyPSpuSYFCCGmqw6G1SQ43NGI6ZPkMed76NdhVgxG_fTBiTD-I4QRuDJ5rMRaHB_HXZwbCNne_cNxQXaKCauFcBSco/?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/AVvXsEjh9zfWcyvq2qPxpbUoNmz7ohRUQb7zLh_-MGRU7sOd73buqgCddvH5Xc3feCB7TSaRIDWkQ7C6DVhD_MuoVu9QobtPTYFZcTPK_yVw9Ppj86PHvwfCfJ7w5Ei4B7AAZiFlVGulvn1KtlI/?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/AVvXsEg2rr-CLAhofofQDcPAA5d-91TGKgRsf3A-twuTd6CTi6hBeRKOJOI8l2ix_URJPu9vugz73A9OquHbUmWHyrzlo_IJlkPnaQMpr9sKBs085C_u_UF6I4xJj5bw5HcAUUojhexdFnIyDZuj/?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/AVvXsEhIK70W9VRJjn0YAg-D0Q1PV_5GktkT15hYpk9qLjVBJtTqA_WxyqWz2eoXRDN1mqcvMvafzbKqSZM9j0byZCIaRXYXqkWTZKl37MW8TU2RVwy7GZicP8-X2fwGLZY2VKxKys_4jJkU-aY/?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/AVvXsEiJ3ICM-yfIpKO0GdTAiK0cSLpNn6y69jhVFyVhjP1_MHkiG77MdHufm38bANFbiWZCV_gSCXL44FiPUEYNktdQmxVzf86y9TY3ki-lMv1JeI1Wd1fhQm_fs3T1R77RtM0zS0ZPSfzknho/?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/AVvXsEiw5QPG3e0FfpkkJbZWjq76cTpMiVorOW7IUw6EWef0t-PUDpD7xRAJF3OYMI8Sx3xg24yNWP-hLP4LwlQVXeBvNopE1eG9GFsaaUGkyGDPMf88zrudeYJZSvhnugnqc10Z3kb-cujdDmY/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
</div> <div style=”font-size:10px;margin:8px 0px 3px 0px”>
</div>

click save :)

No comments: