摘要:
function browerTypeAndVersion(){ var sys = {}; var ua = navigator.userAgent.toLowerCase(); var s; (s = ua.match(/msie ([\d.]+)/)) ? sys.ie... 阅读全文
摘要:
var scrollTop = document.body.scrollTop // chromevar scrollTop = document.documentElement.scrollTop // ie 阅读全文
摘要:
document.body.parentNode.style.overflow = "hidden";//隐藏且禁用横向纵向两个滚动条document.body.parentNode.style.overflow = "auto";//开启横向纵向两个滚动条document.body.parentN... 阅读全文