- 获取滚动条高度
var scrollTop = document.body.scrollTop || document.documentElement.scrollTop;
safari浏览器时间函数参数问题
new Date("7 19,2016 10:00:00")
Invalid Date new Date("7/19/2016 10:00:00")
Tue Jul 19 2016 10:00:00 GMT+0800
2022-10-28 23:02:35
var scrollTop = document.body.scrollTop || document.documentElement.scrollTop;
new Date("7 19,2016 10:00:00")
Invalid Date new Date("7/19/2016 10:00:00")
Tue Jul 19 2016 10:00:00 GMT+0800