Thursday, February 10, 2011

Add Translate widget 2

This is also translate widget.You can add to your blog easy.


1. Log in to your blogger and go to  Design >> Page Element .
    Click Add Gadget and select HTML/JavaScript 

2. Paste this below code.

<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=auto%7Cen&hl=en'); return false;"><img alt="English" border="0" align="absbottom" title="English" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMICfAOxCDw7_2FpiwpMvU1G7pumHlIHZ9frrmEIJR7V2IGqJnuu_P_WCWoiBTd-tLNTfXE-E98zl46WHhY4FUZ11Nn2bvXaImu0oJq9Iq5JxQq6cIgyWwEQoPs5j3QdDKZLZGN6RVfFA/s200/United+Kingdom(Great+Britain).png" style="cursor: pointer;margin-right:8px" 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=auto%7Cfr&hl=en'); return false;"><img alt="French" border="0" align="absbottom" title="French" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5BZnC_SopB6Y3Pug7fYNBLVVO6pG2J_PdXIG2ureg_ROKsWg51m-bDBve10tbp0vznUWzkXmA6Snt13ZrDTKB7JPJhHH_O5wbkTODDZkmo9UxCH8KQ1jiJ_Apa1-COT1UvPaZ_4FQmaI/s200/France.png" style="cursor: pointer;margin-right:8px" 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=auto%7Cde&hl=en'); return false;"><img alt="German" border="0" align="absbottom" title="German" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhq2csdlt5l4tTcVcTYxjB07qG321NJubgjtHsTkpdSvuH09ZwYlfC-OSPBZlchmzDI1IWh0RM1Mp2TlxuOc7v0ymMc2zueYDBSidFNRdi-1HL6-HqEOcaxxVlAvXQFEncXcFmnazyExf8/s200/Germany.png" style="cursor: pointer;margin-right:8px" 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=auto%7Ces&hl=en'); return false;"><img alt="Spain" border="0" align="absbottom" title="Spain" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjy4paS0_B7qm-7jQmAC18zTIiXRV1WrwwvZzNdF0qC8xzl87clCnbnWMWpH1dsIAisiJ1xSIOyeiEnGAa7epJN_dKk5Dr8dYCFvgGqv5X4Hu5bBW21Nb4AtwjfMAuISVKADvLl2sdsBF4/s200/Spain.png" style="cursor: pointer;margin-right:8px" 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=auto%7Cit&hl=en'); return false;"><img alt="Italian" border="0" align="absbottom" title="Italian" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWOcKLk0Eemyb-g_bRHCHVzxIS_cFkhDb26-sC5RGESN8-ukbmF9S2rf3UpO2xwVxj1qwhZVeHSUL9EZ67Nb36jcVxm4RcAupRE4ICxyTRaj18MHRhLAw7ifJuksr2u-4SaUFVIImdt60/s200/Italy.png" style="cursor: pointer;margin-right:8px" 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=auto%7Cnl&hl=en'); return false;"><img alt="Dutch" border="0" align="absbottom" title="Dutch" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXTxRzuYKThiQkTFVI5cMSpkGIFEr5nsC04n3XnOy7ppb53dQNkLJ0cuTsq5ycmuOd-1CmaLHP0U4RFSnVqtL7AGNWBSq8-3bdVjmzh6Mf_hQRZXXcQorjsp2zq0eErsmAWubOXiF5Chk/s200/Netherlands.png" style="cursor: pointer;margin-right:8px" width="24"/></a>
      <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Russian" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7Cru&hl=en'); return false;"><img alt="Russian" border="0" align="absbottom" title="Russian" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_5KS0xdyB4eqjW9o9amgwoFIhyrCQNpSokXnRYyL0rAmYEcr3JOlnONwQqKSmxKkYK-RNec10PNBJfbPGqdE9HfhSCcFt0U1793CaZS8sxWwX3VpG2pMp0RwsAacxOgmpH8Z8abzOKK8/s200/Russian+Federation.png" style="cursor: pointer;margin-right:8px" 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=auto%7Cpt&hl=en'); return false;"><img alt="Portuguese" border="0" align="absbottom" title="Portuguese" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj19KKOSTdiBFP97iNjKrgc299FBvJluH1wt1TjqVGSSykz5RxRYC9ELZJN-EsVUgVjb1y2vkJfVJVNw3MuX65bcz1DhhbMb19K3PCN3L6ddFIXzGJX6hgBvGKPIe9hr0_ljPdIYLRX2M0/s200/Brazil.png" style="cursor: pointer;margin-right:8px" 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=auto%7Cja&hl=en'); return false;"><img alt="Japanese" border="0" align="absbottom" title="Japanese" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0Ev6BgPx2vvMZ4wxO07i85zwAyBoML6r0xtywI0NV24IeXlHvSdS3pUE8-gC56e-RMxevaqLdRa0dylnjfZdN0_QgzCUPzID3oouNMJLrryjLMY-ifXlrpimze03br-vKfZcRNAmpc_U/s200/Japan.png" style="cursor: pointer;margin-right:8px" 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=auto%7Cko&hl=en'); return false;"><img alt="Korean" border="0" align="absbottom" title="Korean" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeowTf8k3H_tcHi_nkcledpG7EbQpHI_qd5E6j2_fDUMrLei3SDjA74JcnnUhYX6XqHwCP7_K9slehrqgy6-6HpvUkSb3ceAdTOFnEc3z22H23anKAIU4QGjORuFEu_4XyqCBcXRVK5sw/s200/South+Korea.png" style="cursor: pointer;margin-right:8px" 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=auto%7Car&hl=en'); return false;"><img alt="Arabic" border="0" align="absbottom" title="Arabic" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq7NiPrJ1n6rgrv0JxL4x-bOcnTqnWTWJ1TMnHSVX9cUlcVLWVibeMIcVvTPx9MEDOvHQKI4anwGAK_ZXUz9xslH0vdILkmbm_DTr7xrGeQWOPSv0uwP1G33IQwJZXGbYu7_wijBfXAFw/s200/Saudi+Arabia.png" style="cursor: pointer;margin-right:8px" 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=auto%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/AVvXsEjsFBGSYtUCEwCqvqVLsxvo8ckvPGlmEgf2oUJYL7FhS2dXRzb0UreostoUmSuLb03MHXQO4Hfd4ZAq0uGRWJtMlMUq888SGVJkpzIQedXY5Adx5jkH8leCjjPL6W2dtN6Y18rlaq6DQPI/s200/China.png" style="cursor: pointer;margin-right:8px" width="24"/></a>      </div> 
  <div 0px 0pxâ?? style="â??font-size:10px;margin:8px" 3px></div>

 <br/>

3. Now save it. you are done.

3 comments: