框架的现代替代品? [英] Modern Day Alternative to Frames?

查看:112
本文介绍了框架的现代替代品?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

框架的当前现代替代品是什么?

What is the current modern alternative to frames?

我想构建一个两帧网站的等效物,顶部框架包含不重新分离的元素,底部的框架是内容框架,根据需要重新加载。

I want to build the equivilant of a two frame website, with the top frame containing elements that DO NOT RELOAD, the the bottom "frame" being the content frame, which reloads as needed.

推荐答案

您可以使用AJAX执行此操作。您可以根据需要动态加载内容。您的内容区域甚至不需要大小限制 - 当用户向下滚动页面时,您可以在已加载的内容下自动加载其他内容。

You can do this with AJAX. You load content dynamically as it's needed. Your content area need not even have size limits - as the user scrolls down the page you can load additional content automatically underneath what was already loaded.

这篇关于框架的现代替代品?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆