如何添加< div>在< iframe>之上? [英] How to Add a <div> above the <iframe>?
本文介绍了如何添加< div>在< iframe>之上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图将< iframe>
放入< div>
中,但它不起作用,所以任何人都可以帮助我,并告诉我如何将< iframe>
放入< div>
...感谢。
i tried to put the <iframe>
inside the <div>
but it not working, so can any one help me on this and tell me how can i put the <iframe>
inside a <div>
... thanks.
这是我们尝试过的代码示例。
this is sample of code we tried .
<iframe frameborder="0" src="http://photosynth.net/embed.aspx?cid=710fac24-dcea-4294-82d7-8d3987ff9124&delayLoad=true&slideShowPlaying=false" width="500" height="300">
</iframe>
请注意:您可以向我发送一个工作演示来帮助我。
note: can you send me a working demo of this to help me.
推荐答案
如果您是从嵌入http://photosynth.net ,Photosynth使用Silverlight,您必须在< object>
标签内具有以下参数。
If you're embedding from http://photosynth.net, Photosynth uses Silverlight, you have to have the following params inside <object>
tag.
<param name="background" value="transparent" />
<param name="windowless" value="true" />
这篇关于如何添加< div>在< iframe>之上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文