Is there a script that can be used to delay the display of the full list of jobs on a embedded page from greenhouse jobs until it is loaded properly in Webflow?

Published on
September 22, 2023

Yes, you can use a script to delay the display of the full list of jobs on an embedded page from Greenhouse Jobs until it is loaded properly in Webflow. Here's how you can do it:

  1. In your Webflow project, go to the page where you want to embed the list of jobs from Greenhouse Jobs.
  2. Add an Embed element to the desired section or container where you want the job list to appear.
  3. Inside the Embed element, click on the settings gear icon to open the embed settings.
  4. Toggle the switch to enable Custom Code.
  5. In the Custom Code field, paste the following script:
<script>  window.addEventListener('load', function() {    setTimeout(function() {      // Replace 'YOUR_EMBED_ID' with the actual embed ID of the desired Greenhouse Jobs script      const embed = document.getElementById('YOUR_EMBED_ID');      if (embed) {        embed.style.display = 'block';      }    }, 2000); // Adjust the delay time (in milliseconds) as per your preference  });</script>

Make sure to replace 'YOUR_EMBED_ID' with the actual embed ID you obtained when generating the Greenhouse Jobs script.

  1. Save and publish your Webflow project.

By adding this script, the job list will initially hide when the page loads. After a specified delay (in this case, 2000 milliseconds or 2 seconds), the script will display the job list. This delay gives enough time for the Greenhouse Jobs script to load properly before revealing the content to your site visitors.

Please note that custom scripting may require knowledge of HTML, CSS, and JavaScript. Make sure to test thoroughly and back up your project before implementing any custom code.

Additional Questions:

  1. How can I embed a list of jobs from Greenhouse Jobs onto my Webflow site?
  2. Is it possible to style the embedded Greenhouse Jobs to match my Webflow site?
  3. Can I filter or customize the embedded Greenhouse Jobs list based on specific criteria using Webflow?