Last active
December 9, 2015 22:08
-
-
Save phw/4335048 to your computer and use it in GitHub Desktop.
TEXTKING Widget Code
This file contains hidden or 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
<!-- This is the container for the TEXTKING Widget. Include it wherever you want to place the widget. --> | |
<div class="tk-widget tk-skin-default" lang="de" | |
data-affiliate="00000000-0000-0000-0000-000000000000" | |
data-default-topic="8576549a-097f-45b3-8c59-fb3d6a03147d" | |
data-source-lang="jp" | |
data-target-lang="es"> | |
<a href="https://www.textking.com" class="tk-logo"> | |
<img src="https://www.textking.com/content/widgets/skins/default/splash.png" alt="TEXTKING" /> | |
</a> | |
</div> | |
<!-- Place the following snippet after the widget container near the end of the | |
<body> section of your HTML file. --> | |
<script type="text/javascript"> | |
(function() { | |
var tk = document.createElement('script'); tk.type = 'text/javascript'; tk.async = true; | |
tk.src = ('https:' == document.location.protocol ? 'https' : 'http') + '://www.textking.com/content/widgets/calculator.min.js'; | |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tk, s); | |
})(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See the example page for a live demo.