Hey friends. Want to add google translator on your website. It can be be added in different ways. Here two layouts are given. Just copy and paste the code into your webpage.
Google Translate
Translate This
Google Translate
<div id="google_translate"></div>
<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en',
layout: google.translate.TranslateElement.InlineLayout.
SIMPLE },'google_translate');
}
</script>
<script src="http://translate.google.com/translate_a/
element.js?cb=googleTranslateElementInit"></script>
Translate This
<div id="translate-this">
<a href="http://translateth.is/"
class="translate-this-button">Translate</a></div>
<script src="http://www.google.com/jsapi"></script>
<script src="http://x.translateth.is/translate-this.js">
</script>
<script type="text/javascript">TranslateThis();</script>
Posting Komentar