August 1999
Intermediate to advanced
1488 pages
72h 53m
English
frame.name
The name property of the Frame object represents the name given to a frame as specified from the NAME attribute of the HTML <frame> tag.
In Listing 7.276, the name property is used to inform the user of the active frame.
<script language = "JavaScript">
<!-- Hide
function activeFrame(){
var frameName = window.myframe.name;
alert("The active frame is: " + frameName);
}
// End Hide --->
</script>
|
Read now
Unlock full access