var oHeight = $(document).height(); //屏幕当前的高度
$(window).resize(function () {
if ($(document).height() < oHeight) {
$("#next").css("display", "none");
} else {
$("#next").css("display", "block");
}
});
var oHeight = $(document).height(); //屏幕当前的高度
$(window).resize(function () {
if ($(document).height() < oHeight) {
$("#next").css("display", "none");
} else {
$("#next").css("display", "block");
}
});
转载于:https://www.cnblogs.com/yyy251/p/8954031.html