Embed

Iframe a tool

Any tool URL can be framed. Append ?embed=1 to hide the site header and footer. Example:

<iframe
  src="https://spanlist.com/deck/?embed=1"
  title="Spanlist deck takeoff"
  style="width:100%;border:0;min-height:720px"
  id="spanlist"></iframe>

When the tool is inside a frame it posts { source: "spanlist", type: "resize", height } toparent on load and whenever the document height changes. Example listener:

window.addEventListener("message", (e) => {
  if (e.data?.source !== "spanlist") return;
  if (e.data.type === "resize") {
    document.getElementById("spanlist").style.height = e.data.height + "px";
  }
});

Host this on spanlist.com or your own origin. We do not set X-Frame-Options: DENY so embedding stays possible. Do not strip the estimating disclaimer.