Arash Dejkam wrote:
Quote:
bad news it doesn't work in IE!, by the way, I tested your code in Opera
7.01 Build 2651 and it DIDN'T work! |
One reason more to go for the iframe. Sorry for not being more specific
about Opera, I had only tested with Opera 7.50 on Windows and as I don't
use <object> myself to render text/html I had no knowledge about details
of Opera support for contentDocument.
Quote:
but worked in mozilla. I can't use
IFRAME because my page should be XHTML1.0 Strict. |
It is your decision, if that document type is important to you then you
can't use iframe but currently with the browsers around if you are
interested in consistent and reliable use and scripting then iframe is
much better than object.
--
Martin Honnen
http://JavaScript.FAQTs.com/