簡體   English   中英

使用 Teachable 上的代碼塊將 Google 表單嵌入具有自動高度功能的 iFrame

[英]Embed Google Form in an iFrame with Auto Height Using a Code Block on Teachable

我正在嘗試將動態/自動高度嵌入到可教講座的代碼塊中的 Google 表單。

我試過這個,但它不起作用: Get a Google Form in an IFrame with Auto Height

這是一篇關於如何嵌入 Google 表單的 Teachable 支持文章,但它沒有解釋如何使表單自動高度(根據表單的長度動態調整高度,以便 iFrame 內不會滾動) : https://support.teachable.com/hc/en-us/articles/222637507-Embed-Forms-and-Other-Content-into-Lectures

如果有人知道如何做到這一點,請告訴我:)

對於跨域 iframe,您需要能夠在 iframe 和父頁面中運行 JS 代碼才能正常工作。 如果是 Google 表單,您需要讓 Google 為您添加此表單

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM