2024年3月22日发(作者:)
windowWidth = idth;
}
windowHeight = eight;
} else {
if (ntElement && Height) { // Explorer 6 Strict Mode
windowWidth = Width;
windowHeight = Height;
} else {
if () { // other Explorers
windowWidth = Width;
windowHeight = Height;
}
}
}
// for small pages with total height less then height of the viewport
if (yScroll < windowHeight) {
pageHeight = windowHeight;
} else {
pageHeight = yScroll;
}
// for small pages with total width less then width of the viewport
if (xScroll < windowWidth) {
pageWidth = xScroll;
} else {
pageWidth = windowWidth;
}
arrayPageSize = new Array(pageWidth, pageHeight, windowWidth, windowHeight);
return arrayPageSize;
}
// 滚动条
Top;
$(document).scrollTop();


发布评论