|
Re: "iframe" and dom problem: msg#00004web.dom.general
June Lee wrote: self.document.getElementById("myEmbed").contentDocument.lastModified Actually the latter will not work in IE. That will access the lastModified property of the *current* document (in which the object resides). Currently there is no direct way (through the properties of the object) in IE of accessing the document of a page loaded into an object via the data attribute. As noted by a forum post [1], the window of the document loaded into the object is included in the window.frames collection. This is not much use to you, however, in XHTML 1.0 Strict. My conclusion is that <object> support simply isn't consistent or mature enough to be used as a universal solution. Instead, I would recommend use of XHTML 1.0 Transitional for pages that require iframes, as the <iframe> element is much more well-supported. [1] - http://www.webmasterworld.com/forum21/6539.htm -- Brad Fults NeatBox |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | "iframe" and dom problem: 00004, June Lee |
|---|---|
| Next by Date: | Re: "iframe" and dom problem: 00004, Johannes Koch |
| Previous by Thread: | "iframe" and dom problemi: 00004, June Lee |
| Next by Thread: | Re: "iframe" and dom problem: 00004, Johannes Koch |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |