I have a print page script. I want ot be able to insert it onto another page but when the user clicks the print, what actually will print is another webpage. ANyone know how.
Here's the print function:
<script>
// (C) 2000 // // Free for all users, but leave in this header
function printWindow(){
bV = parseInt(navigator.appVersion)
if (bV >= 4) window.print()
}
</script>
============================================================
Step 2.
Put the following in the body of your page.
<a href="javascript
rintWindow()">Print This Page</a>
============================================================
Another script I got is this:
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
if (window.print) {
document.write('<form>Click Here To '
+ '<input type=button name=print value="Print" '
+ 'onClick="javascript:window.print()"> This Page!</form>');
}
// End -->
</script>
Someone know how to manipulate this.
Here's the print function:
<script>
// (C) 2000 // // Free for all users, but leave in this header
function printWindow(){
bV = parseInt(navigator.appVersion)
if (bV >= 4) window.print()
}
</script>
============================================================
Step 2.
Put the following in the body of your page.
<a href="javascript
============================================================
Another script I got is this:
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
if (window.print) {
document.write('<form>Click Here To '
+ '<input type=button name=print value="Print" '
+ 'onClick="javascript:window.print()"> This Page!</form>');
}
// End -->
</script>
Someone know how to manipulate this.