زر ترجم المحتوى كلانا نعرفه جيدا وهو في أغلب المدونات
ولكني أحضرته اليوم بشكل جديد جدا وبشكل رائع
ولإضافة هذا الزر الى مدونتك فضلا اتبع الآتي
أولا إذهب الى لوحة التحكم ثم الى التخطيط ثم إضافة زر
HTMLبعد ذلك إذا أردت إضافة الزر على هذا الشكل
ضع الكود التالي
<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/AVvXsEidgrQ9b2upEjVyo3mWpSghCPXG45B76yKH2ba53vHFNUn6-hO8vLgUIqiHe41vhlWLPjItaETS-a1xuLrH7-iVuK9IUy-e-lNbDUoXtsQPpVbPit4clLgJO551o2MXXJdgn-IepH5bdY4/?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/AVvXsEgbhssFZGKNVYldBvYZ8UpA0-9cn_CeM2FwhhpCW2b9ehyphenhyphenUH7k9tbKTJtpAYRMyKz1N444agxstl0QaEqP3gObWq4wHFohcR_1OUtBtr0R5mrdWymcSA35QCPX0qgygRrMJXAoWQdlWB7k/?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/AVvXsEgQsqicuu9dY82STPLFJKd4YFbNs1gewsBC_IYw6JSElsEjk2l4QA2LWQ-n2pJZ8N8XThOUg27Zh985btj1qqDLt-5OjZPnqsuLwlBrvqLI_R9YNrI4ycFrZD2UUfaYncWU7MQKIajJHOqU/?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/AVvXsEigiHqbRc70l0uOQb7P-C3QIeiTZNPHLJXpN5EkO7OmAT9yJ7iFYLTWe778N76bWweQ69doEteWEn3N6gm4aiIMyIkytSNpHfxvuC2OYxlkIcN8YVjo6yAkq9CbLaUqgeZHl5GX17LcSseE/?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/AVvXsEi-qjou5-DapOQ57njBIM6ikN2DNIlGfUeaT6li8963ltGOuSArPTYQaN-DvK_Z7veddnlwER5aGf63iJCP9EzMgTSOdXyMReYVWBA2lhqrUubHzERdFH9qYMy28WTv5bDZdqKeTZ9KhR8/?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/AVvXsEiQIItRsnJaLUSX6q7YdSAoM2ttTpIDnbS9DJhFZoTJl_f-DBvk1eE9HR9bfQ2CfiEHEOKxqgUVx55eGwBBShcUtw_3kQesbf99qR4xJJFY0eq7AtpE4DxTgJOM1gN4d6SBoCL8edT2n5g/?imgmax=800" style="cursor: pointer;margin-right:13px" 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/AVvXsEi7yH5LshH7lsWqFQ2joIKLXLRwymDWu1hcX9SHSqlllJC6T9HOIiJyffYCTZfbH3zw34-spWJRylfHwi8bskfOBTRNLiUpUgjQMpou0RAAQIvJ6dRvexVOiMrcxuPWz9B7dFBG2UHv218/?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/AVvXsEgeUFJe1Am2cZ2tlgxC-DZ295FHQTlNUOGncepnH4iDSu3Wzxd6us4bjfH_onqZmqxuGV_4kWCjgkku82SBJh3G-f8F0sJAGvYR3hf6LMjVVgHgrSp_eh6yoxxTl9esIXbBWeYuIiI5OPw/?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/AVvXsEhVoSi9qhYLGPmRERmZlxhaaGuoSSJ8eu7-FSGAnkncDpdJrivACZRjIxpE5D0Y7HjFDHUvZxuuhqlnrMspBV-yPeDN3wZKx8Vs5dSwLcvE6-bT6uOzWYnir_I33vA3UKfbKSV0EvlqiJP4/?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.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/AVvXsEhAocWBcNVUh6OLnJ6NoPeLnu-Vtqxbo_GGMAbVsO5flGUKw8R07OsImuxMy-c5TGApW2JhHIsN-oP6vZaegf69znTpPzzxte65ko0VSvCvem7VISzZE7s1Up0Nq4IOcfJkS_ZBrRlob8g/?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/AVvXsEhUwsZfm5auvrhpVFfXSeRX29OYwRkFy4F-E-h9D3pWEPXChLcu5HjYxyCIjfIoJ13kbgziCwMMNS5vkboz10nTr0Ir3EGnMOO6gExp1AX_OQd71X6F4fEAyOkPET2hK5uN6prATe6Be6k/?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/AVvXsEhn4hsB-TfPxk1TmxoT7unNI29EWb6tvKwlRIBRgI48q7HRvmrEj9bxGC1XuzqSotii2L2cQe2cGfoeTk2H2F5Zmv_9yLRxL3j55AcJ0P6PsW_Cie2pBhDH9o4kBERjKwBxGv5NjQzdgp4/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
</div><div style="font-size:10px;margin:10px 0px 3px 0px">
</div>
وإذا أردت إضافته على هذا الشكل قم بإضافة الكود التالي
<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/AVvXsEidgrQ9b2upEjVyo3mWpSghCPXG45B76yKH2ba53vHFNUn6-hO8vLgUIqiHe41vhlWLPjItaETS-a1xuLrH7-iVuK9IUy-e-lNbDUoXtsQPpVbPit4clLgJO551o2MXXJdgn-IepH5bdY4/?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/AVvXsEgbhssFZGKNVYldBvYZ8UpA0-9cn_CeM2FwhhpCW2b9ehyphenhyphenUH7k9tbKTJtpAYRMyKz1N444agxstl0QaEqP3gObWq4wHFohcR_1OUtBtr0R5mrdWymcSA35QCPX0qgygRrMJXAoWQdlWB7k/?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/AVvXsEgQsqicuu9dY82STPLFJKd4YFbNs1gewsBC_IYw6JSElsEjk2l4QA2LWQ-n2pJZ8N8XThOUg27Zh985btj1qqDLt-5OjZPnqsuLwlBrvqLI_R9YNrI4ycFrZD2UUfaYncWU7MQKIajJHOqU/?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/AVvXsEigiHqbRc70l0uOQb7P-C3QIeiTZNPHLJXpN5EkO7OmAT9yJ7iFYLTWe778N76bWweQ69doEteWEn3N6gm4aiIMyIkytSNpHfxvuC2OYxlkIcN8YVjo6yAkq9CbLaUqgeZHl5GX17LcSseE/?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/AVvXsEi-qjou5-DapOQ57njBIM6ikN2DNIlGfUeaT6li8963ltGOuSArPTYQaN-DvK_Z7veddnlwER5aGf63iJCP9EzMgTSOdXyMReYVWBA2lhqrUubHzERdFH9qYMy28WTv5bDZdqKeTZ9KhR8/?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/AVvXsEiQIItRsnJaLUSX6q7YdSAoM2ttTpIDnbS9DJhFZoTJl_f-DBvk1eE9HR9bfQ2CfiEHEOKxqgUVx55eGwBBShcUtw_3kQesbf99qR4xJJFY0eq7AtpE4DxTgJOM1gN4d6SBoCL8edT2n5g/?imgmax=800" style="cursor: pointer;margin-right:13px" 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=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/AVvXsEi7yH5LshH7lsWqFQ2joIKLXLRwymDWu1hcX9SHSqlllJC6T9HOIiJyffYCTZfbH3zw34-spWJRylfHwi8bskfOBTRNLiUpUgjQMpou0RAAQIvJ6dRvexVOiMrcxuPWz9B7dFBG2UHv218/?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/AVvXsEgeUFJe1Am2cZ2tlgxC-DZ295FHQTlNUOGncepnH4iDSu3Wzxd6us4bjfH_onqZmqxuGV_4kWCjgkku82SBJh3G-f8F0sJAGvYR3hf6LMjVVgHgrSp_eh6yoxxTl9esIXbBWeYuIiI5OPw/?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/AVvXsEhVoSi9qhYLGPmRERmZlxhaaGuoSSJ8eu7-FSGAnkncDpdJrivACZRjIxpE5D0Y7HjFDHUvZxuuhqlnrMspBV-yPeDN3wZKx8Vs5dSwLcvE6-bT6uOzWYnir_I33vA3UKfbKSV0EvlqiJP4/?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.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/AVvXsEhAocWBcNVUh6OLnJ6NoPeLnu-Vtqxbo_GGMAbVsO5flGUKw8R07OsImuxMy-c5TGApW2JhHIsN-oP6vZaegf69znTpPzzxte65ko0VSvCvem7VISzZE7s1Up0Nq4IOcfJkS_ZBrRlob8g/?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/AVvXsEhUwsZfm5auvrhpVFfXSeRX29OYwRkFy4F-E-h9D3pWEPXChLcu5HjYxyCIjfIoJ13kbgziCwMMNS5vkboz10nTr0Ir3EGnMOO6gExp1AX_OQd71X6F4fEAyOkPET2hK5uN6prATe6Be6k/?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/AVvXsEhn4hsB-TfPxk1TmxoT7unNI29EWb6tvKwlRIBRgI48q7HRvmrEj9bxGC1XuzqSotii2L2cQe2cGfoeTk2H2F5Zmv_9yLRxL3j55AcJ0P6PsW_Cie2pBhDH9o4kBERjKwBxGv5NjQzdgp4/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
</div><div style="font-size:10px;margin:10px 0px 3px 0px">
</div>
تم بحمد الله
0 التعليقات:
إرسال تعليق