ADVERTISEMENT
返回
  • 浏览过的版块

1
ADVERTISEMENT
Huaren
等级列兵
威望--
贴子8
魅力10
注册时间2009-03-17

flyingdagger

查看全部

幼教~380個FLASH英語小故事 (new download link updated)

34231

406

2011-02-04 11:28:00

Thank you for sharing.

 
<script id="gtbTranslateElementCode">var gtbTranslateOnElementLoaded;(function(){var lib = null;var checkReadyCount = 0;function sendMessage(message, attrs) { var data = document.getElementById("gtbTranslateElementCode"); for (var p in attrs) { data.removeAttribute(p); } for (var p in attrs) { if ("undefined" != typeof attrs

) { data.setAttribute(p, attrs

); } } var evt = document.createEvent("Events"); evt.initEvent(message, true, false); document.dispatchEvent(evt);}function checkLibReady (){ var ready = lib.isAvailable(); if (ready) { sendMessage("gtbTranslateLibReady", {"gtbTranslateError" : false}); return; } if (checkReadyCount++ > 5) { sendMessage("gtbTranslateLibReady", {"gtbTranslateError" : true}); return; } setTimeout(checkLibReady, 100);}gtbTranslateOnElementLoaded = function () { lib = google.translate.TranslateService({}); sendMessage("{EVT_LOADED}", {}, []); var data = document.getElementById("gtbTranslateElementCode"); data.addEventListener("gtbTranslate", onTranslateRequest, true); data.addEventListener("gtbTranslateCheckReady", onCheckReady, true); data.addEventListener("gtbTranslateRevert", onRevert, true); checkLibReady();};function onCheckReady() { var ready = lib.isAvailable(); sendMessage("gtbTranslateLibReady", {"gtbTranslateError" : !ready});}function onTranslateRequest() { var data = document.getElementById("gtbTranslateElementCode"); var orig = data.getAttribute("gtbOriginalLang"); var target = data.getAttribute("gtbTargetLang"); lib.translatePage(orig, target, onProgress);}function onProgress(progress, opt_finished, opt_error) { sendMessage("gtbTranslateOnProgress", {"gtbTranslateProgress" : progress, "gtbTranslateFinished" : opt_finished, "gtbTranslateError" : opt_error});}function onRevert() { lib.restore();}})(); (function(){var d=window,e=document;function f(b){var a=e.getElementsByTagName("head")[0];a||(a=e.body.parentNode.appendChild(e.createElement("head")));a.appendChild(b)}function _loadJs(b){var a=e.createElement("script");a.type="text/javascript";a.charset="UTF-8";a.src=b;f(a)}function _loadCss(b){var a=e.createElement("link");a.type="text/css";a.rel="stylesheet";a.charset="UTF-8";a.href=b;f(a)}function _isNS(b){b=b.split(".");for(var a=d,c=0;c

初始化编辑器...

到底了