Untuk memperindah tampilan blog anda, salah satu widget yang direkomendasikan dimiliki oleh suatu blog adalah transalator (kamus). Pada tutorial kali ini saya akan membahas cara untuk menambahkan widget "Google Translate" di blog kalian. Langsung saja berikut ini cara membuatnya :
- Login ke Blogger
- Pada halaman Dashboard klik Layout /
Tata Letak (Jika blog kalian menggunakan b.Indonesia) - Pada Page Elements Klik add
Widget , kemudian Pilih Html/javascript - Selanjutnya copy kan kode berikut ini ke dalam script html :
<divclass ="widget-content">
<style>
.google_translateimg {
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>
<center>
<aclass ="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/AVvXsEiQFgqgNRq8h8L3mPaOhM0aAE3DOYzm83vw_ThkemR-FBnV4TjwomlKPnF1xIty2ahbLoF-wVoGeYUY8ccMwdSod691TOt-EDrO1iB92sNfnITZC_ofr_YaigY8uxc2LTFjUmUay_E2sBM/?imgmax=800" style="cursor: pointer; margin-right: 13px;" 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/AVvXsEgZ_7LnRl34o6ulQZHdpXBWtCICQYHdkHjVAgN6NY5z1jrGQ_xdpbGH97FjQL8AT2mNy59HbMKjzq0s-CzSsNsqZg06qfbuvbdvHAxZWKr9A9iv5ZoiIHHjwkhORJMfv5At5YWtqeipeKw/?imgmax=800" style="cursor: pointer; margin-right: 13px;" 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/AVvXsEhxHWOUJ07HQZ2_YXi9K88bejFTiqTv6bqjvlBJvhJY_zJKQ5XA4nVCNwxLH88lG_Zy1jLsuZpsdNlk00sU-xvmp1bGNkeYYzhwVk9tyGUDc1QQ072mRhcYEgp9VBNow7_-wWB4Hj91EUGy/?imgmax=800" style="cursor: pointer; margin-right: 13px;" 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/AVvXsEjte3y8oy4A3FsMMm9XRQ7eKwYZo523Izq1cOWbxVw1aUYU01JuOIjZ6GUQ6Lcbe5DU6n2Uz6-o4rgpqizmQPNPadj9O_FJTq4-ygz8Wdz2R2TAogYArS_31HBwhhYU3K4joYUhLSHRT1MB/?imgmax=800" style="cursor: pointer; margin-right: 13px;" 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/AVvXsEjEb1FyFjvywidqsT14E-LisA8Rqo4J2qPvFH9165gepdfTTOk-vUzk7xfWBQrce1gbMUyH1Vjhulb6QLu8EApywscNMBkMmBbE8fv6Bc0WU__fA00iIHNGfjgRx2mHiOSTr4Wha9i70pQ/?imgmax=800" style="cursor: pointer; margin-right: 13px;" 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/AVvXsEhvO96w9h_iP8UtXRkeDg4cJ-FsPqqPen7wEeD-krgj1nBuLHWX4_e6nLSZVdNAYqws1wPWJqSpI7AKYfbTk7shY5QuQqM5GPiiLYdiUittFxuuKU0UuBpQJGzCrNbhqNx2fgjHJBvf9ME/?imgmax=800" style="cursor: pointer; margin-right: 13px;" width="24"/></a>
<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/AVvXsEgxJmSc7ei4EXvPkh5MGICsYNH6F3NWMnZdKi5ZtTlzp7vsZN-PFC3AOp0hyphenhyphen6cUJM7uQg1_6OEBVUv_VadU7HgvZnaHN-U-QVuskJQnM5Gsml4a9WJ-YqhxL-0XZ8U3FQJhf5smsFviNlk/?imgmax=800" style="cursor: pointer; margin-right: 13px;" 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/AVvXsEgaTetp3SpX7mFbCufrj_z3t6abjvJ_ZzCS67zg7G85A5Am2tohzk_3iLmOmg3e5vL5ztEhiUugYC7iKcQ2wT3yvb78_9ClmdUc-bu9VBpeYf13X0txZ27SmIRLvxJgjirjvg1D6H7UQTk/?imgmax=800" style="cursor: pointer; margin-right: 13px;" 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/AVvXsEh-a-jQz-8gFNCBod7O9X6yywblf8UwVszYe9mC6gW_rtxFLir7rWqnBo55b6WQoptZa6JJ3muHQogu8y_EVkbD_EvjZJ7ot98KLzknlpIFtgcP2R_wQFUMJdJn-LT5kMyRdWzfoZPKOw60/?imgmax=800" style="cursor: pointer; margin-right: 13px;" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Korean" onclick="window.open('http://translate.oogle.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/AVvXsEhnD6wcM5cLcw_9AbZhW27EPhshqMpWDTKbdRtdme-pXniEgQ8sIsq3sPsC8mYZXSdt5_0A18VidDpNQXKAotyri_1h3sJk8beSyO4Q7t0LHynGKkvyv8ZX9quZL0wHFOdw7YT5QmNejJQ/?imgmax=800" style="cursor: pointer; margin-right: 13px;" 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/AVvXsEjCylYa3HzSFqTb_MwS_mtN1EPsB5ocfez6p2fi5JhUHyJPyeQrZWSesp3Z1dyW9ClGvCaAz6Bg_J56YndZUFD8nLnSBGXThOG6osZ2Y0AgfCf9n_kX6h9bQcKvXXqlrhchiWlxVm2mI5A/?imgmax=800" style="cursor: pointer; margin-right: 13px;" 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/AVvXsEjEVgWM5aQnE1kzzKNKAbs50bdZncNNNP7hg1nE9QqK5DJ6cuOOBZB9qXv48zFtGcR6r-rt4zV_K_l4S5-dqwijeBYRUTnHjpg2O7R3ZmVJWtbLY3aulRiOnIWDRGcu6mvta5RSm3iXFLw/?imgmax=800" style="cursor: pointer; margin-right: 13px;" width="24"/></a><br/>
</center>
</div>
</div>
- Klik save
0 komentar:
Post a Comment