在div中嵌入整个reveal.js演示文稿

pra*_*avn 11 reveal.js

我想知道如何在标签的范围内嵌入整个reveal.js演示文稿,以便我的演示文稿看起来像slideshare.net上的演示文稿

提前致谢.

Cre*_*ell 6

你不能用div做到这一点.你描述的内容与iframe的用途完全相同.

<iframe width="400" height="400" marginheight="0" marginwidth="0" src="/your/reveal/slideshow.html">
  Fallback text here for unsupporting browsers, of which there are scant few.
</iframe>
Run Code Online (Sandbox Code Playgroud)

我自己没有尝试过,但这是正确的工具.尝试一下这种情况,你应该让它做你想做的事.

其他资源:https: //developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe