August 1999
Intermediate to advanced
1488 pages
72h 53m
English
frame.frames[num]
The frames property of the Frame object represents an array that stores child frame objects. Array entries of the child frame can be referenced either by index number or by the name assigned from the NAME attribute.
In Listing 7.274, the frames array is used to access the length of the child frame.
<script language="JavaScript">
<!-- Hide
function getFrameLength(){
var childLength = document.frames["firstChild"].length;
}
// End Hide --->
</script>
|
Read now
Unlock full access