Forum Moderators: open

Message Too Old, No Replies

iframe used as online text editor

         

at_internet

8:55 pm on Dec 29, 2003 (gmt 0)

10+ Year Member



I use an iframe to edit my webpages. This works fine at home with IE6, but on an other machine with IE5, I cannot enter text into the iframe.
With the onLoad() event of the body tag, I make sure that the Designmode is turned on. Still in some casses I cannot make an entry into the frame. However, I can make a selection.
Has someone an idea what the reason is?

tedster

3:17 am on Dec 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, at_internet.

I've read some comments that designMode has poor implementation on IE 5.5 and is only dependable on IE6. I never touch the stuff myself ;)

You might try experimenting with the contentEditable attribute instead.

at_internet

9:57 am on Dec 30, 2003 (gmt 0)

10+ Year Member



ok I'll try that, however I think that Mozilla does not support this attribute. But then again more people use IE than Mozilla.
Thanks!