当前位置: 代码迷 >> 综合 >> 钉钉打卡位置虚拟
  详细解决方案

钉钉打卡位置虚拟

热度:57   发布时间:2023-09-08 00:57:05.0
钉钉打卡位置虚拟
通过ifame指向的页面高度调整iframe的高度
1.htm的代码:  
<iframe  src=2.htm  id=ifrm></iframe>  

2.htm的代码:   
<script>  
function  resize()  
{parent.document.all.ifrm.height=document.body.scrollHeight;
parent.document.all.ifrm.width=document.body.scrollWidth;
}  
</script>
<body  onload="resize()">  
</body> 钉钉打卡位置虚拟
  相关解决方案