August 1999
Intermediate to advanced
1488 pages
72h 53m
English
frame.print(options)
The print method of the Frame object is used to send the document output of a particular frame to a printer. This works the same as executing the Print command from a browser menu.
Listing 7.282 shows an example of the print method. Using the onClick event handler, when the bottom frame is clicked, the print() method is executed.
<html> <title> Example of print method of the Frame object</title> <frameset rows="80, *"> <frame src=top.html name=top > <frame src=bottom.html name=bottom onClick='document.window.bottom.print()'> </frameset> </html> |
Read now
Unlock full access