11
A
回答
0
您需要告诉我们更多关于您正在尝试做什么的事情,以便我们可以为您提供更多帮助。
听起来像一个HTTP请求/ AJAX可能符合法案,但目前很难说。
4
您可以使用ajax请求获取内容,然后将其注入到页面中,但不能跨域使用,所以如果您尝试托管外部内容,则需要使用iframe。
7
既然你把jQuery作为标签,我建议你看看http://api.jquery.com/load/。
2
您可以创建一个div并以多种方式填充此div,或者执行ajax请求,或者如果您使用的是任何服务器脚本语言,则只需在div中执行include即可。
使用iframe仍然是大多数用途的最干净选项。
0
除非使用HTML元素,否则没有其他选项可用于跨域嵌入,我强烈建议您不要这样做。但是,您可以使用CSS隐藏iframe。
Crossdomain communication也可以以各种方式完成。
0
我不认为你可以使用其他任何东西作为iframe的替代品。 考虑到这个事实,即点击iframe中的任何链接,URL会发生变化,会改变内容。这,否则可能是一个乏味和具有挑战性的。当你点击链接时,你肯定会被重定向到它。因此,不。
相关问题
- 1. Page_Load alternatives
- 2. OSCommerce alternatives
- 3. Searchlogic alternatives
- 4. @NotTransactional alternatives
- 5. DbUnit.NET Alternatives
- 6. Pubcenter Alternatives
- 7. SWFUpload alternatives
- 8. TeamCity Alternatives
- 9. Displaytag alternatives
- 10. Session_End Alternatives
- 11. MediaRecorder Alternatives
- 12. PowerGadgets alternatives
- 13. Memtime Alternatives
- 14. ShowWindow alternatives
- 15. Sql Server sync alternatives
- 16. Swift 3:stringByReplacingCharactersInRange alternatives
- 17. NSTimer Reliable Alternatives
- 18. Java Interface Reflection Alternatives
- 19. WP7 - OrderedDictionary/alternatives?
- 20. Promise.try with args alternatives
- 21. GCC Xml Alternatives
- 22. Java中的Spacy Alternatives
- 23. Regular Expression Alternatives(All Matches)
- 24. Jquery UI Theme Switcher Alternatives
- 25. Live Audio Streaming alternatives * without * Flash,Silverlight
- 26. ng-hide和ng-show alternatives
- 27. alternatives --config java bash脚本
- 28. 如何使用命令update-alternatives --config java
- 29. “alternatives = true”不适用于Google方向API
- 30. alternatives --config java提供了一个错误
你在iFrames中显示什么?外部网页或来自您网站的内容,您不想重新加载页面上每个操作的整个页面? – 2010-08-10 14:58:25
如果你让我们知道你不喜欢IFRAME,这将有所帮助。 – Alohci 2010-08-10 15:02:38
嗨。内容全部与内部/内部网相关,不跨域。其次,大多数使用Web应用程序的用户都不喜欢Windows内的窗口。希望这可以帮助。 – tonyf 2010-08-10 15:32:57