摘要:
1 var timeout = null;//onresize触发次数过多,设置定时器 2 window.onresize = function () { 3 clearTimeout(timeout); 4 timeout = setTimeout(function () { window.location.reload(); }, 100);//页面大小变化,重新加载页... 阅读全文
posted @ 2018-05-11 09:53
前端极客
阅读(943)
评论(0)
推荐(0)

浙公网安备 33010602011771号