开发者

How to block the client action of the iframe in mobile browser?

In mobile browser if i click the iframe it 开发者_如何学Gowill give some border color it means its selected ifram. so how do i block the client side selection in the browser.


Here is another way, save below code as .html and then try in browser:

<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>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜