窗口中的 Html5 网页
我正在尝试在网页内的窗口中获取网页,所以基本上我想要的是类似于标准操作系统的东西, 你有一个 exe 文件,它可以在窗口中打开,我想要这个,但是在 HTML5 中
我会使用 Ajax 吗?
在这个阶段任何事情都会有帮助!
谢谢杰罗普
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
对于您的问题,您不需要 HTML5。您可以使用 jQuery 来解决它。
jQuert窗口插件(您可以根据需要选择其中之一):
For your problem you don't need HTML5. You can solve it by using jQuery.
jQuert window plugin (You can choose one of them depending on your need):
如果您想要一个实际的窗口,那么您可以使用
open
。如果您想要页面内有一个伪窗口,那么您可以使用。如果您不需要实际页面,而只需要一小块 HTML,那么您可以使用 DOM 操作< /a> 在页面中创建元素(如果页面中还没有数据,则可能使用 Ajax 技术通过 HTTP 获取数据)。
If you want an actual window then you would use
open
. If you want a pseudo-window inside a page, then you would use<iframe>
. If you don't want an actual page, but just a chunk of HTML then you would use DOM manipulation to create the elements in the page (and possibly Ajax techniques to get the data over HTTP if you don't have it in the page already).