实现“无限页面”的最佳方式在铁轨? [英] Best way to implement an "endless page" in rails?
本文介绍了实现“无限页面”的最佳方式在铁轨?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
分页很糟糕!用户应该能够永久向下滚动,在适当时自动提取新内容。
Pagination sucks! The user should be able to scroll down forever, automatically pulling in new content when appropriate.
有一个体面的轨道演员关于此,但Ryan承认他的解决方案不适用于IE。
There's a decent rails cast about this, but Ryan admits that his solution won't work in IE.
在Rails中最好的方法是什么(最好是以jQuery友好的方式)?
What's the best way to accomplish this in Rails (preferably in a jQuery-friendly fashion)?
推荐答案
刚试过 jQuery.pageless 并且它运行良好。
Just tried jQuery.pageless and it's working pretty well.
这篇关于实现“无限页面”的最佳方式在铁轨?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文