Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback: irt.org FAQ Knowledge Base Q1132

Feedback on: irt.org FAQ Knowledge Base Q1132

Sent by Prashant Vaishnav on April 02, 2001 at 13:36:16: - feedback #2578

Worth:
Worth reading

Length:
Just right

Technical:
Just right

Comments:
In IE, you can achieve this by: 1. placing the buttons in a div, including a print button
2. on click of the print button, hide the div with the buttons [style.display = "none"] and then fire window.print()
3. Restore the visibility of the buttons

That way, the buttons will not appear in the print


Sent by neil m on December 07, 2001 at 18:11:50: - feedback #3404

Worth:
Very worth reading

Comments:
you can also use a seperate style sheet for printing (there is a tag for 'media'). in this style sheet, you can set some elements to be visible or not


©2018 Martin Webb