August 1999
Intermediate to advanced
1488 pages
72h 53m
English
window.length
The length property of the Window object represents the number of frames within a window. This returns the same results as Window.frames.length.
Listing 7.548 shows a function that can be used to return the number of frames in a window.
<script language="JavaScript">
<!-Hide
// Define a function to return the number of frames in the
// window passed.
function numFrames(win){
return win.length;
}
// End hide --->
</script>
|
Read now
Unlock full access