Load another page content
Load another pages content on your Webflow site via a simple jQuery script. This allows you to target an element on your page and then put the URL on the page that you want to load without using iFrames.
Load another pages content on your Webflow site via a simple jQuery script. This allows you to target an element on your page and then put the URL on the page that you want to load without using iFrames.
How to add it
- Add the Javascript jQuery script to your Webflow's custom code section of your page
- Update the element ID (load-destination) with the target element on your page that you want to load the content into
- Update the relevant URL with your URL
The code
Javascript
<script>
$(function() {
$('#load-destination').load("https://example.com #load-source");
});
</script>