Christian,

Thank you very much!

Regards,
James Blaha

Christian Cantrell wrote:

>Whichever frame has focus is the one whose document will be sent to the  
>printer (on Windows IE, anyway), so make sure you call focus() first.   
>Here's some code that I believes works with IE and Netscape:
>
>function doPrint()
>{
>     top.printVersion.focus();
>     top.printVersion.print();
>}
>
>"printVersion" is the name of the frame containing the document that  
>you want to print.
>
>Christian
>
>On Wednesday, January 8, 2003, at 08:43 AM, James Blaha wrote:
>
>  
>
>>Issue: Using Print Button JavaScript in a Framed Page?
>>
>>Hello All:
>>
>>Can someone please send me an example of how to use JS in a framed page
>>where there are at least two pages (A & B) and the button to print is  
>>in
>>(A) and when clicked it will print the Contents of whats in (B).
>>
>>*********
>>* (A) | (B) *
>>*********
>>
>>Thanks in advance,
>>James Blaha
>>
>>
>>
>>    
>>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to