Methods and Events of the FRAMESET Element


Methods and Events of the <FRAMESET> Element

JavaScript's core HTML methods and events we covered in Chapter 6 apply to the <FRAMESET> element as well. In addition, this element has a few more events, which you see in Table 8.6 in overview and in Table 8.7 in depth. (The <FRAMESET> element does not have any non-core methods.)

Table 8.6. Overview of the Events of the <FRAMESET> Element (See Chapters 5 and 6 for the JavaScript core HTML properties, methods, and events that also apply to this element.)

Events

   

onafterprint

onbeforeprint

onload

onunload

   
Table 8.7. The Events of the <FRAMESET> Element (See Chapters 5 and 6 for the JavaScript core HTML properties, methods, and events that also apply to this element.)

Method

NS2

NS3

NS4

NS6

IE3a

IE3b

IE4

IE5

IE5.5

IE6

onafterprint

             

x

x

x

 

Occurs immediately after a document prints or previews for printing. See "Printing" in this chapter.

onbeforeprint

             

x

x

x

 

Occurs immediately before a document prints or previews for printing. See "Printing" in this chapter.

onload

           

x

x

x

x

 

Occurs when frame contents are fully loaded and all parts of the document are available for scripting. See "Window Loading and Unloading" in this chapter.

onunload

           

x

x

x

x

 

Occurs when frames are unloaded. See "Window Loading and Unloading" in this chapter.



Inside Javascript
Inside JavaScript
ISBN: 0735712859
EAN: 2147483647
Year: 2005
Pages: 492
Authors: Steve Holzner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net