如何删除无穷大滚动末尾的弹出窗口。上面写着祝贺。我尝试将消息设置为空",但这并不能阻止黑色弹出窗口的出现。
loading: {
finishedMsg: ""
},
试试这个:
donetext : "I think we've hit the end, Jim" ,
// text displayed when all items have been retrieved
// default: "<em>Congratulations, you've reached the end of the internet.</em>"
无限滚动文档
默认情况下,他会说你的congratulations
。
几年后,一位软件工程师将在几层灰尘和碎屑的地下室中发现这个问题。所以…尽管是作者,但文档对这个插件来说并不是很好。这并不明显,但如果您想删除带有消息的弹出窗口,只需将options
对象中的finishedMsg
变量设置为空字符串:
jQuery('#main').infinitescroll({
loading: {
finishedMsg: ""
}
}, function() {});
瞧!插件根本不会显示弹出窗口。