Navigator 2.0, Internet Explorer 3.0
window.parent
The parent property is a read-only reference to the Window object that contains window. If window specifies a top-level window, then parent refers to the window itself. If window is a frame, then the parent property refers to the top-level window or frame that contains window.
The parent property is generally only useful for frames rather than for top-level windows. With a function like the following, you can use the property to determine whether a given Window object is a top-level window or a frame:
function is_toplevel(w) { return (w.parent ==index.html w); }
file: /Techref/language/java/script/definitive/refp_456.htm, 4KB, , updated: 2019/10/14 16:00, local time: 2024/8/23 06:17,
18.116.90.227:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://piclist.com/tecHREF/language/java/script/definitive/refp_456.htm"> [Chapter 21] Reference: Window.parent</A> |
Did you find what you needed? |
![]() o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
Welcome to piclist.com! |
.