var oHeight = $(document).height(); //屏幕当前的高度 $(window).resize(function () {
if ($(document).height() < oHeight) {
$("#next").css("display", "none");
} else {
$("#next").css("display", "block");
}
});