August 1999
Intermediate to advanced
1488 pages
72h 53m
English
onFocus="command"
The onFocus event handler of a property of a Window object is fired when the focus is placed on that particular window instance. Care should be taken when using this event handler, because it is possible to get into an infinite loop when using onBlur event handler or blur() method. Note that when this event handler is called within the <body> tag, it is overridden if a <frame> tag that also uses this event handler loaded the document.
Note
Some Navigator 3 browsers do not fully support this event handler when called in a <frameset> tag.
Listing 7.558 has a frame set with two frames. The first frame, toc, has the onFocus event ...
Read now
Unlock full access