By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,968 Members | 1,852 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,968 IT Pros & Developers. It's quick & easy.

Designmode IFrames and event handlers in Firefox 1.5

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a


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

P: n/a

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.