K
Kerry
Hi,
My question is: How do I setup a button on the bottom of a page that will
print the page. I would also like a "close window button since I'm using
these on a pop-up window.
I found the code:
<!-- Begin
function printWindow() {
bV = parseInt(navigator.appVersion);
if (bV >= 4) window.print();
}
// End -->
</script>
followed by: <a href="javascriptrintWindow()">Print This Page</a>
which does work with the words "print this page". However, how do I get
that to work with an interactive button? Is there an easy way to close the
window with a similar button?
My question is: How do I setup a button on the bottom of a page that will
print the page. I would also like a "close window button since I'm using
these on a pop-up window.
I found the code:
<!-- Begin
function printWindow() {
bV = parseInt(navigator.appVersion);
if (bV >= 4) window.print();
}
// End -->
</script>
followed by: <a href="javascriptrintWindow()">Print This Page</a>
which does work with the words "print this page". However, how do I get
that to work with an interactive button? Is there an easy way to close the
window with a similar button?