- 博客(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
2837
2
原创 css设置表格
display: table; // 设置table格式border-collapse: collapse; // 合并边框display: table-row; // 行(tr)display: table-cell; // 列(td)
2022-01-26 15:26:47
284
原创 页面长时间无操作后执行事件
let timer = 300,showTimer=timer,interCountlet interCount = setInterval(()=>{ timer-- if(timer == 0){ timer=showTimer // 300秒后执行事件,且时间重置 } },1000)// 任何操作都重置时间$(document).bind('click',function(){timer=showTimer;})$(d
2022-01-26 15:10:06
757
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人