하드 파고 후 ... 내가 빙 솔루션 번역을 마련했습니다 ...
는
당신은 ... 경고를 언급 그리고 수는 60000은 여기를 의미 번역이 60 초 이내에 완료되지 않으면 오류가 표시됩니다 ...
<!-- The image showing korean -->
<img id="Koebtn" src="images/SP2.jpg">
<!-- The Code to translate -->
<script src="http://www.microsoftTranslator.com/ajax/v3/WidgetV3.ashx?siteData=ueOIGRSKkd965FeEGM5JtQ**" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#Koebtn").click(function(){
if (document.readyState == 'complete') {
Microsoft.Translator.Widget.Translate('en', 'es', onProgress, onError, onComplete, onRestoreOriginal, 60000);
}
//You can use Microsoft.Translator.Widget.GetLanguagesForTranslate to map the language code with the language name
function onProgress(value) {
document.getElementById('counter').innerHTML = Math.round(value);
}
function onError(error) {
alert("Translation Error: " + error);
}
function onComplete() {
document.getElementById('counter').style.color = 'green';
}
//fires when the user clicks on the exit box of the floating widget
function onRestoreOriginal() {
alert("The page was reverted to the original language. This message is not part of the widget.");
}
});
});
</script>
그리고 지금까지 무엇을 했습니까? – mehulmpt
나는 페이지에 빙 번역 위젯을 넣었지만, 이것은 정말로 마음에 들지 않습니다 ... – Josh