更换框架?

发布于 2024-10-04 13:44:24 字数 156 浏览 2 评论 0原文

我目前正在重新设计一个严重依赖框架的旧 Web 应用程序。我想摆脱框架,因为它们需要痛苦的 javascript 旋转,但仍然希望用户在屏幕的两个部分(视图和属性)之间有一个可移动的边框。

我可以使用什么 html 元素,或者 html 元素 + javascript 来替换框架?

I'm currently redesigning an old web application that relies heavily on frames. I'd like to get rid of the frames because the painful javascript gyrations they require, but would still like the user to have a movable border between two parts of the screen (view and attributes).

What html element, or html element + javascript, can I use to replace frames?

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

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

发布评论

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

评论(2

梨涡少年 2024-10-11 13:44:24

我认为没有任何解决方案不涉及 JavaScript。如果您同意,您可以将它们替换为

元素,并使用 JavaScript 使它们可调整大小。

I don't think there are any solutions that won't involve JavaScript. If you're OK with that, you could replace them with <div> elements and use JavaScript to make them resizeable.

香橙ぽ 2024-10-11 13:44:24

除了 div 之外,我没有看到其他解决方案。但是你必须再次使用JS来允许拖动边框。在这里使用 JQuery 就可以了,因为可能有一个插件,检查数据库。

I see no other solution than a div. But you would have to use JS again to allow the dragging of the border. Use of JQuery would be fine here as there is maybe a plugin for that, check the database.

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