- 博客(3)
- 收藏
- 关注
转载 js关闭手机浏览器页面
if (navigator.userAgent.indexOf("MSIE") > 0) { if (navigator.userAgent.indexOf("MSIE 6.0") > 0) { window.opener = null; window.close(); } else { window.open('', '_top'); window.top.close(); ...
2022-01-27 09:24:50
3168
2
原创 css设置表格
display: table; // 设置table格式 border-collapse: collapse; // 合并边框 display: table-row; // 行(tr) display: table-cell; // 列(td)
2022-01-26 15:26:47
327
原创 页面长时间无操作后执行事件
let timer = 300,showTimer=timer,interCount let interCount = setInterval(()=>{ timer-- if(timer == 0){ timer=showTimer // 300秒后执行事件,且时间重置 } },1000) // 任何操作都重置时间 $(document).bind('click',function(){timer=showTimer;}) $(d
2022-01-26 15:10:06
810
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人