Code

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 page content preview

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

  1. Add the Javascript jQuery script to your Webflow's custom code section of your page
  2. Update the element ID (load-destination) with the target element on your page that you want to load the content into
  3. Update the relevant URL with your URL

The code

Javascript
                      <script>
$(function() {
    $('#load-destination').load("https://example.com #load-source");
});
</script>

                    

More from Corey Moen

Profile →

Related Webflow questions

All answers →

Similar code snippets

All code snippets →