>I believe the .print method is only supported in Netscape +4.0 browsers. eeeewww!
>
Using DHTML in Internet Explorer, you can call window.print(). Here's what the SDK says:
print Method
--------------------------------------------------------------------------------
Prints the document associated with the window.
Syntax
window.print()
Return Value
No return value.
Remarks
Calling the print method has the same effect as choosing Print from the Microsoft® Internet Explorer File menu. Doing so brings up the print dialog box, prompting the user to change print settings. When the user clicks on the OK button, the following sequence of events occurs:
the onbeforeprint event fires,
the document prints, and
the onafterprint event fires.
The onbeforeprint and onafterprint events are particularly useful when not all the information on the page is visible at all times. The onbeforeprint event gives the Web author an opportunity to modify the document to make all the information on the page visible for printing purposes. The onafterprint event provides a means to revert the document back to its original state.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement