Mega Code Archive

 
Categories / JavaScript Tutorial / Window
 

Window onFocus

The onFocus event handler is fired when the focus is placed on that particular window instance. <html>     <frameset cols="150,*">       <frame name="toc"              src="/toc.htm"              onFocus='myFocusFunc()'              marginwidth=1 marginheight=1 scrolling=AUTO>       <frame name="body"              src="/body.htm"              marginwidth=10 marginheight=5 scrolling=AUTO>     </frameset> </html>