Skip to content

Instantly share code, notes, and snippets.

@beveradb
Created April 7, 2022 19:13
Show Gist options
  • Save beveradb/745d79a98adbc2014f237a04a5a3a204 to your computer and use it in GitHub Desktop.
Save beveradb/745d79a98adbc2014f237a04a5a3a204 to your computer and use it in GitHub Desktop.
direct-load-HTML-example-for-s8.html
<div id="embed-showcase"></div>
<script src="https://code.jquery.com/jquery-3.6.0.slim.min.js" integrity="sha256-u7e5khyithlIdTpu22PHhENmPcRdFiHRjhAuHcs05RI=" crossorigin="anonymous"></script>
<script type="text/javascript">
// On page load, fetch HTML from /showcase proxied path and load into div above
jQuery(function() {
jQuery('#embed-showcase')
.load("/showcase/");
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment