943,764 Members | Top Members by Rank

Ad:
Oct 25th, 2006
0

Is it possible to print a frame by clicking a button in a pop-up? (JAVASCRIPT)

Expand Post »
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.

JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <!-- Begin
  2. function printWindow() {
  3. bV = parseInt(navigator.appVersion);
  4. if (bV >= 4) window.print();
  5. }
  6. // End -->

Thank you for your time,

NuGG
Last edited by NuGG; Oct 25th, 2006 at 1:29 pm.
Similar Threads
Reputation Points: 10
Solved Threads: 1
Junior Poster
NuGG is offline Offline
110 posts
since Feb 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JavaScript / DHTML / AJAX Forum Timeline: Please help a newbie - Javascript basic
Next Thread in JavaScript / DHTML / AJAX Forum Timeline: explorer 6 and css





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC