Skip to content

Instantly share code, notes, and snippets.

@farazdagi
Created December 19, 2015 08:15
Show Gist options
  • Save farazdagi/1f7485cde68afc296b61 to your computer and use it in GitHub Desktop.
Save farazdagi/1f7485cde68afc296b61 to your computer and use it in GitHub Desktop.
How to include Esenio widget on your own web-site.
<script>
(function(window, undefined) {
window.esenio = window.esenio || {};
window.esenio.url = 'https://events.esen.io';
window.esenio.eventSlug = 'demo';
window.esenio.widgetWidth = '100%';
window.esenio.widgetHeight = undefined;
document.writeln('<script src="' + window.esenio.url + '/scripts/widget.js"><\/script>');
}(window));
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment