Last active
September 30, 2015 20:43
-
-
Save viniciusdacal/a4c561f05814f058c7d0 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
<!--INSERT THIS TAG WHERE YOU WANT TO PLACE THE WIDGET--> | |
<!--you can set the width and height using css rules--> | |
<div id="ot__ondetem" style="width:800px; height: 400px"></div> | |
<!--INSERT THIS JUST BEFORE THE BODY END--> | |
<script> | |
(function(d, s, id) { | |
var gtin = 10527; | |
var js, fjs = d.getElementsByTagName(s)[0]; | |
if (d.getElementById(id)) return; | |
js = d.createElement(s); | |
js.id = id; | |
js.src = 'http://www.ondetem.com.br:8080/embed/' + gtin + '.js'; | |
fjs.parentNode.insertBefore(js, fjs); | |
}(document, 'script', 'ot__widget')); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment