优化嵌入式链接,以便在所有浏览器和网络托管平台

时间:2015-07-07 12:51:53

标签: html css wordpress embedding

我创建了一个嵌入式链接 - 包含我的网络应用程序 - 以便人们可以将其粘贴到HTML的正文标记之间。这是嵌入式链接:

<iframe src="http://insitu-app.com/index-tennis.html" style="position: absolute; height: 100%; width: 100%; border: none"></iframe>

以及它的一个示例结果:

http://insitu-app.com/examples/INsitu-embed-iframe.html

适用于Chrome,但Internet Explorer和Firefox上缺少滑块和3D模型。此外,还有原始的滚动条(我不想在那里):

http://insitu-app.com/index-tennis.html

最后,将嵌入式链接复制并粘贴到Wordpress等WYSIWYG平台上也不起作用 - 我是否需要为此创建一个插件?

非常感谢任何帮助。感谢

1 个答案:

答案 0 :(得分:0)

尝试将top:0和left:0添加到iframe:

<iframe src="http://insitu-app.com/index-tennis.html" style="position: absolute; height: 100%; width: 100%; border: none; top: 0; left: 0;"></iframe>

这将删除滚动条