Skip to content

Commit

Permalink
link fix
Browse files Browse the repository at this point in the history
  • Loading branch information
supun-io committed Oct 28, 2024
1 parent 3381a40 commit dd80482
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions website/src/routes/[[slug]]/Iframe.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,14 @@ class IframeController

<p>
When you call the <code>PrivacyIframe::wrap</code> method, it will include
<a href="./blob/main/src/Embed/Iframe/child.js"> child.js </a> script that will send the height of
the content to the parent window.
<a href="https://github.com/hyvor/unfold/blob/main/src/Embed/Iframe/child.js"> child.js </a> script
that will send the height of the content to the parent window.
</p>

<p>
On your website, you have to include the <a href="./blob/main/src/Embed/Iframe/parent.js">
On your website, you have to include the <a
href="https://github.com/hyvor/unfold/blob/main/src/Embed/Iframe/parent.js"
>
parent.js
</a> script. This script will listen to the messages from the child window and resize the iframe accordingly.
</p>
Expand Down

0 comments on commit dd80482

Please sign in to comment.