Skip to content

Instantly share code, notes, and snippets.

@ndv
Created July 18, 2012 11:04
Show Gist options
  • Save ndv/3135584 to your computer and use it in GitHub Desktop.
Save ndv/3135584 to your computer and use it in GitHub Desktop.
OnPageLoad
<script src="//app.ecwid.com/script.js?1003" type="text/javascript" charset="UTF-8"></script>
<script>
Ecwid.OnPageLoad.add(function(page) {
alert("My page load handler: "+page.type);
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment