html如何创建框架

发布于 2024-08-04 06:40:03 字数 729 浏览 2 评论 0原文

我想创建一个如下图所示的 html 框架集。

任何人都可以为我指出一个有用的方向,因为我不确定如何创建它?

我应该使用框架集还是其他类似 AJAX 的东西?

------------------------------------------
|                                        |
|                                        |
|----------------------------------------|
|     |                                  |
|     |                                  |
|     |                                  |
|     |                                  |
|     |                                  |
|     |                                  |
|     |                                  |
|     |                                  |
|     |                                  |
------------------------------------------

I would like to create an html frameset like the picture below.

can anyone point me in an helpful direction as I'm not sure how to create this?

Should I use frameset or something else like AJAX?

------------------------------------------
|                                        |
|                                        |
|----------------------------------------|
|     |                                  |
|     |                                  |
|     |                                  |
|     |                                  |
|     |                                  |
|     |                                  |
|     |                                  |
|     |                                  |
|     |                                  |
------------------------------------------

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

凡间太子 2024-08-11 06:40:03

不要使用框架和框架集,因为它们已弃用在 HTML5 中。您不需要 Ajax,因为布局与异步更新无关。相反,请使用 CSS 布局如这些示例之一

Don't use frames and framesets as they are deprecated in HTML5. You don't need Ajax, since layout has nothing to do with asynchronous updates. Instead, use a CSS layout like one of these examples.

向日葵 2024-08-11 06:40:03

您可以从 w3schools 的优秀教程中了解框架和框架集。然而,作为一个建议,AJAX 并没有以任何特殊或独特的方式特别参与框架集的管理。此外,您可以使用 CSS 盒模型实现所需的布局!网上有很多例子。查看 OSWDCSS Zen Garden 以及网络上的许多其他内容。 CSS 是你的朋友,它看起来(通常)比框架集好得多。

You can learn about frames and framesets from the excellent tutorials available from the w3schools. However, as a word of advice, AJAX is not particularly involved in the management of framesets in any special or unique way. Besides, you can achieve the desired layout using the CSS box model just fine! Plenty of examples on the web. Check out the stuff at OSWD, CSS Zen Garden and plenty of others around the web. CSS is your friend and it looks (usually) much better than frameset.

两人的回忆 2024-08-11 06:40:03

这里你有一些关于框架的文档,但是你确定要吗这样做?我不会在这里解释为什么它很糟糕,但由于多种原因,它确实很糟糕。

您能否编辑您的问题以更准确地解释您想要实现的目标?这样我们也许能够告诉您最佳选择是什么,因为可能您甚至不需要 AJAX。

Here you have some doc about frames, but are you sure you want to do that? I won't explain here why it's bad but it really is, for many reasons.

Could you edit your question to explain more precisely what you are trying to achieve? Like this we'll may be able to tell you what's your best choice, because may be you don't even need AJAX.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文