NuGG 32 Junior Poster

I want to print a html file by clicking on a hyperlink/button in a small popup window. I already have the popup that is not the problem, i was just wondering if this script can be modified to print the main window from the popup.

<!-- Begin
function printWindow() {
bV = parseInt(navigator.appVersion);
if (bV >= 4) window.print();
}
//  End -->

Thank you for your time,

NuGG

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.