How could you modify the script below so that it only prints the FRAME? Is
that possible?
Thanks,
Erika
----- Original Message -----
From: "Frank Priest" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 11, 2000 10:50 AM
Subject: Re: Re-visiting Print() function
: Here's a sample print button......
:
: <SCRIPT LANGUAGE="JavaScript">
: <!-- Begin
: if (window.print) {
: document.write('<form>'
: + '<input type=button name=print value="Click to Print This Page" '
: + 'onClick="javascript:window.print()"></form>');
: }
: // End -->
: </script>
:
:
: At 10:09 AM 8/11/2000 -0400, you wrote:
: >I have found that even with a simple script below causes the user to be
: >prompted twice with "alert box" for printing with the first doing
: >nothing. Is there anyway to avoid this problem and just have the user
: >prompted the one time (granted they will still be prompted by the print
: >function from the browser which is what I am not trying to avoid). Does
: >that make sense?
: >
: >
: ><SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
: ><!--
: > confirm("Print it?")
: > window.print()
: >//-->
: ></SCRIPT>
:
>---------------------------------------------------------------------------
---
: >Archives: http://www.mail-archive.com/[email protected]/
: >To Unsubscribe visit
: >http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
or
: >send a message to [EMAIL PROTECTED] with 'unsubscribe' in
: >the body.
:
: --------------------------------------------------------------------------
----
: Archives: http://www.mail-archive.com/[email protected]/
: To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.