0
在手机浏览器中,如果我点击iframe,它会给一些边框颜色,这意味着它选择了ifram。所以我如何阻止浏览器中的客户端选择。如何在移动浏览器中阻止iframe的客户端操作?
在手机浏览器中,如果我点击iframe,它会给一些边框颜色,这意味着它选择了ifram。所以我如何阻止浏览器中的客户端选择。如何在移动浏览器中阻止iframe的客户端操作?
这里是另一种方式,下面的代码保存为.html和然后在浏览器尝试:
<div style="position:relative">
<div style="width:300px;height:300px;position:absolute;left:0;top:0;z-index:1;"><br /><br /><br />World~~~~~</div>
<div style="width:300px;height:300px;position:absolute;left:0;top:0">Hello (put your iframe here, you could not select the text in this DIV)</div>
</div>
也许'IFRAME的onfocus = “this.blur()”' – mplungjan 2011-03-07 08:24:39