воскресенье, 19 декабря 2010 г.

Виджет "Переводчик блога" для Blogger


Как виджет добавьте этот код:


<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/AVvXsEjvK56tjJaVkFsn-MhV_EhmRaVIV9goAV61FI0wlG_MLhOfK1CORzaVkQznFi4xgommtKJ2ghU3pNgWVEyu9nCGLgZS02aFQx4dZMGUclR1p1CXZaLwmOHgdW904OgTHb_dPRtbvkiDKNU/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/AVvXsEhXWnX8whg0T21g4kHYZXDz4EXuJL1SYiLdPWIXMdawC6NfswgGFLpYbS98IUyZdw2ioWqLI1ySV1Vdd-ytxZIV4Uw3CneYRM1LdlOJ735LTVzmF8iJ5Uo7NddWLBA9JxLeulKb9dr2m3c/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/AVvXsEgdfiR36ryFI9ta5Y_yDtt_bU8XVUgg3qYfyn4T3x0rDOGkQ-USalsvHPZ453yOj9aZkVdQcIXCZaSG0xXmvPxlUHIUGRyGXs-2wDvbRY0Fp86w9aFk0OV6Y0gd6lciIW4h7kvucL4JydU/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/AVvXsEgfTakgRlbiN2TWBlZ80YixVWZDOLSOEdAh_o9yfpY4fXRyc826-foYJRe9h7vXHtjQwAcZbmxyrL9Eg0QedLyUiQ-iVpsFK_114Wjh6g-7lbLRuc87bvx_08h30nyrs3UFzrtEa4D6EcU/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/AVvXsEh2k-CliqJd_tkBvWfAsLQlwsXcYlKblqzDnkPQTMT5qR683WDfvPE2k894EO805F67_5f8aaaBZLQpVm3RNoS_mcDzFN5e-tw7xPeezRMRbDQgPzLOaYGinhcTvxUOC6hffKFigCHfhyphenhyphenA/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/AVvXsEhW_GV6iFV5t8K8sgvIXCibetv-hUm8DbHNOTJhdhyZrOni48-SqVm7-rJjQMjxK9f-uo9Wm0I1nuq-mfA86pTmLvuWbi1EXMrGVQvKClskuAsjOo1fJANQR6rvevr48fM4hTy8ffBc2u4/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/AVvXsEjV22I7v0WvsZgjCGhN_PMpLNmoSHNdXHTs534c8LNhlHlmic01Q0AaDEF7p9mn8MQZgns2CDDQTjGwGF_NpZcB5jOPnyC2PaMXrUq0jMKkBJ2zp1lv6Qwbvuk1qX3-N8ZPI8e37sN8A_Y/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/AVvXsEiJfDiYtfd_2IjJ41f9tmBB25L6KyN9CvQfS8AhIUx503tFg1bb2sYhd7mELNqr5zkAYTXiGcEaI72x0pIwF7egPkpnlHo9Kh1mzYhpHGKsoF4ETGe7M2hFwZM6enRS1TYorbuwP5gWbfg/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/AVvXsEjyH0IUAxI0RURjbDjyxc570s55j2UoehxCBWEgkq0Z4KVlRtdhJMYmjkcVrFs5cnd8t-HdXaqBTByyV5RznFbdRywkV7Z9YICaBcB6RV2k6mPJUla_oCTSgO3jiOVZFGjLbQLo3jhayrE/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/AVvXsEh14xs8l-zien6F0dnB0ArZX6JEn7Yd_ufyjgpLEk1KU1Hy_tKAtWlf8j7MxtTG4bk3atv1Jl1Yfm39876ROC0S1ZkYPkcV_sLkqgdpWq5Z67_XnrN1_HAGdKyPGzVJvEDN8QanoGvmhaw/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/AVvXsEidVghVR3rZblrXXfZd3CuLTcqyIFQrVBdf9bz9W4XI3Uh1PT1GOsx4or7h-YUwF21GUdwcN7IdEdjwIvy0qHOTIodynCjHUZpM1NUd12o2plruQe_pRIXoLYJBip3KB81ayWcrKpE8P5A/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/AVvXsEhzGWFcw5KCH82yqaS4OUH9qGFds6HG_ogu5ziQTyo67Fg6BItZSEUSKPNJAXR3OgZxwGMAXkHbajLdB0abftBdS9eKRkCgfLiARuRZC-idwvYgR9QucPCUoe7A3KGVdTrUqy_n-gNLzvY/s200/China.png" style="cursor: pointer;margin-right:8px" width="24"/></a>      </div>
  <div 0px 0pxâ?? style="â??font-size:10px;margin:8px" 3px></div>

4 комментария:

  1. Спасибо! Вы мне очень помогли. Я сегодня целый день над этим голову ломаю.

    ОтветитьУдалить
  2. Tutor leader in the market. Do not pass the best site with online advice before exams. Perhaps that is what you are looking for.

    ОтветитьУдалить
  3. Объясните чайнику куда вставлять!

    ОтветитьУдалить
    Ответы
    1. Написано же, как виджет (вкладка Дизайн в панели управления блогом)

      Удалить