topical media & game development
basic-javascript-07-UpperWindow.htm / htm
<html>
<head>
<script language="JavaScript" type="text/javascript">
function window_onload()
{
alert("The name of the upper frame's window object is " + window.name);
alert("The location of UpperWindow's parent is " +
window.parent.location.href);
}
</script>
</head>
<body onload="return window_onload()">
<p>Upper Frame</p>
</body>
</html>
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.