faqts : Computers : Programming : Languages : JavaScript : Event handling

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

10 of 17 people (59%) answered Yes
Recently 4 of 10 people (40%) answered Yes

Entry

I need to protect my web page content (text and images) from print a copy. Any ideia?

Aug 9th, 2001 04:24
Hiroto Sekine, Raposa Velha, http://www.all.co.nz/support/sample.htm


With IE5.x and above
Replace the "beforePrint()" and "afterPrint()" functions with your own 
code. Also you may need to modify some object attributes such 
as "display". Visit the active sample page and click "Print" button.