作者gpmm (銀色)
看板Ajax
標題[問題] 問一個 iframe 在 FF 底下吃掉 input 游標的問題
時間Thu Dec 18 11:13:41 2008
MF 版本是 2.0.0.19
code:
<body>
<iframe width="500" height="500" src="
http://www.google.com"></iframe>
<form method="post" action="" style="position: absolute; left: 0px; top:0px;">
<input type="text" name="" value="" />
</form>
</body>
在 IE 下是 ok 的,一切看起來正常,
但是在 MF 下,會發現 input 的欄位裡,只要背後有重疊到 iframe 的,
游標都會被吃掉(很有趣的是如果只蓋一半還會剩半根…囧)
會發現這個問題,主要是用 iframe 做燈箱效果(擋 select),
以及之前用 iframe 做 Html Editor 時出現的。
不知道有沒有人有相關經驗或解法的? orz
感恩啊…
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 219.80.28.216
推 JYHuang:Fx 3.04 OK = =" 12/18 14:24
→ gpmm:所以是 2 本身的關係嗎?:( 12/18 14:44
推 JYHuang:Fx 3.04游標進到text欄位範圍後會變成文字輸入游標 12/18 14:48