Created
June 17, 2012 18:38
-
-
Save orangkucing/2945377 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<span></span><script type="text/javascript">//<![CDATA[ | |
span6183 = document.getElementsByTagName('script'); | |
span6183 = span6183[span6183.length - 1].previousSibling; | |
(function () | |
{ | |
var from = "en", to = "ja", text = "I am tired and sleepy."; | |
var s = document.createElement("script"); | |
s.src = "http://onecotravel.info/cgi-bin/kotoba/translate.cgi?basename=Translate" + | |
"&appId=" + | |
"&from=" + from + | |
"&to=" + to + | |
"&text=" + encodeURIComponent(text) + | |
"&oncomplete=callback6183"; | |
span6183.appendChild(s); | |
})(); | |
function callback6183(response) | |
{ | |
span6183.innerHTML = response; | |
} | |
//]]></script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment