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