August 1999
Intermediate to advanced
1488 pages
72h 53m
English
frame.top
The top property of the Frame object specifies the top-most browser window containing frames.
Listing 7.286 shows an example of how the top property is used to get the name of the top frame.
<script language="JavaScript">
<!-- Hide
var topBrowserName = myframe.document.top.name;
alert("The name of the top most browser is: " + topBrowser);
// End Hide --->
</script>
|
Read now
Unlock full access