Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想创建一个类似于 facebook 的更多按钮,可以在墙上加载更多项目。 有人可以建议我如何在 PHP 中使用它。您能否指出我的资源或让我知道如何实现这一目标。
我认为您所寻求的称为infinite scroller. 查看本教程,了解如何在 PHP 上创建无限滚动画廊。这个没有“更多”按钮,每次您将页面向下滚动到底部时,它都会自动加载更多内容。但是它很容易适应“更多”按钮。
infinite scroller
编辑:这是另一个教程,这次是按钮。