469,280 Members | 2,449 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,280 developers. It's quick & easy.

Designmode IFrames and event handlers in Firefox 1.5

Hi all, I busted a gut getting my design-mode iframe to work properly
in FF1 and IE, and just when I thought everything worked nice I
discovered that in FF1.5 event handlers in the iframe are no longer
processed;

http://developer.mozilla.org/en/docs...ing_in_Mozilla

they infer that event handlers were never handled, but they were in
1.0.6...
Anyway - can anyone suggest how I can work around this, basically I
want to be able to detect when a specific span element in my iframe's
document is clicked?

Twenty million Reward Card points to the best soln. ;-)
TIA
Jim

Jan 19 '06 #1
2 1950


jd*******@gmail.com wrote:
Hi all, I busted a gut getting my design-mode iframe to work properly
in FF1 and IE, and just when I thought everything worked nice I
discovered that in FF1.5 event handlers in the iframe are no longer
processed; Anyway - can anyone suggest how I can work around this, basically I
want to be able to detect when a specific span element in my iframe's
document is clicked?


If your document containing the editable iframe wants to know when
something is clicked in the editable iframe then it can certainly set up
event listeners on the iframe document, simple example
<http://home.arcor.de/martin.honnen/javascript/2006/01/test2006011901.html>
works for me on Windows with IE 6, Mozilla 1.7, Firefox 1.5 and Opera 9
Preview.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jan 19 '06 #2

Martin Honnen wrote:
jd*******@gmail.com wrote:
Hi all, I busted a gut getting my design-mode iframe to work properly
in FF1 and IE, and just when I thought everything worked nice I
discovered that in FF1.5 event handlers in the iframe are no longer
processed;

Anyway - can anyone suggest how I can work around this, basically I
want to be able to detect when a specific span element in my iframe's
document is clicked?


If your document containing the editable iframe wants to know when
something is clicked in the editable iframe then it can certainly set up
event listeners on the iframe document, simple example
<http://home.arcor.de/martin.honnen/javascript/2006/01/test2006011901.html>
works for me on Windows with IE 6, Mozilla 1.7, Firefox 1.5 and Opera 9
Preview.

--

Martin Honnen
http://JavaScript.FAQTs.com/

Live saver!!

Thanks very much, your example has saved me much trouble.

Thanks again
Jim

Jan 19 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Koms Bomb | last post: by
2 posts views Thread by Lecture Snoddddgrass | last post: by
9 posts views Thread by VK | last post: by
5 posts views Thread by Larry | last post: by
29 posts views Thread by Charles Law | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.