D. Patterson wrote:
Is there any way to find the window object given the document object?
IE has document.parentWindow:
<http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/parentwindow.asp>
Opera 8 implements that too, Mozilla does not.
Most W3C DOM Level 2 browsers (like Mozilla or Opera) have
document.defaultView which in those browsers is the window object
(although that is not required or suggested by the W3C DOM).
--
Martin Honnen
http://JavaScript.FAQTs.com/