IWETHEY v. 0.3.0 | TODO
1,095 registered users | 1 active user | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New I don't think so
I don't think a window can ever have multiple documents, as both layers and frames are handled as parts of a document. It is possible it have a window with no document, but it's not very common.

It's probably that way because the guys that did the early Netscapes had some object oriented experience. Seperating the Window object and the Document object despite their near perfect unity is very OO.

Jay
New Windows can have *many* documents
The current document, the previous document, the one previous to that...

That nobody ever chose to expose this doesn't mean that it was a bad initial idea to have made it possible to choose to do so.

Incidentally the frames array belongs to a Window, and not the Document. (Or at least used to.)

Cheers,
Ben
To deny the indirect purchaser, who in this case is the ultimate purchaser, the right to seek relief from unlawful conduct, would essentially remove the word consumer from the Consumer Protection Act
- [link|http://www.techworld.com/opsys/news/index.cfm?NewsID=1246&Page=1&pagePos=20|Nebraska Supreme Court]
New Another reason for it
You can pop up a new empty window with javascript, and then dynamically write contents into it. Until you've written something into it, the window has no document. There are probably also some theoretical guidelines on closing the window for writing before the document exists in the DOM, but considering how loosely browsers interpret invalid code I wouldn't bet on those guidelines ever having been followed.
===

Implicitly condoning stupidity since 2001.
New got me thinking about a relational version of DOM
________________
oop.ismad.com
     JavaScript cross-window questions - (tablizer) - (12)
         Answers - (JayMehaffey) - (9)
             comments, and thanks - (tablizer) - (8)
                 Re: comments, and thanks - (JayMehaffey) - (7)
                     HTMLTest - (JayMehaffey)
                     HTMLTest1 - (JayMehaffey) - (5)
                         Thanks, works with "document" in there. - (tablizer) - (4)
                             I don't think so - (JayMehaffey) - (3)
                                 Windows can have *many* documents - (ben_tilly) - (2)
                                     Another reason for it - (drewk) - (1)
                                         got me thinking about a relational version of DOM -NT - (tablizer)
         Something more along the lines of - (ChrisR) - (1)
             opener.getElementById("things").selectedIndex, or - (FuManChu)

Mmmmm. Bacteria injections.
124 ms