Last active
April 12, 2017 01:50
-
-
Save tvpmb/4254b1b776de005abeb53be0a836eb9a 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
<a class="tvp-sidebar" data-id="sidebar-dynamic" data-domain="//widgets.domain.com">TVPage Sidebar Dynamic</a> | |
<script> | |
window.__TVPage__ = window.__TVPage__ || {}; | |
__TVPage__.config = __TVPage__.config || {}; | |
__TVPage__.config["sidebar-dynamic"] = { | |
loginid: "XXXXXXX", | |
channel: { | |
"id": "00000000", | |
"parameters": { | |
"main_category": "123456789" | |
} | |
} | |
}; | |
(function(d, l) { | |
var s = d.createElement('script'); | |
if (d.getElementById(l)) return; s.src = '//widgets.domain.com/loader.min.js'; | |
s.id = l; d.body.appendChild(s); | |
})(document, 'tvp-loader'); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment