Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback: irt.org FAQ Knowledge Base Q508

Feedback on: irt.org FAQ Knowledge Base Q508

Sent by Diane on March 15, 2000 at 07:56:20: - feedback #934

Worth:
Worth reading

Comments:
Its worth reading, but it doesn't work, unless I'm doing something wrong


Sent by Eric Olson on April 03, 2000 at 14:53:09: - feedback #1031

Length:
Just right

Comments:
Using the code for this example doesn't work as specified in IE 5 (it prints the current page and not the no-show frame). It works fine in NN 4.7.
Maybe I've overlooked something, but as a work around I used a print button that loads a page into the no-show frame with an onload print in it's body tag. Kinda hacky, but it works.


Sent by Dave on August 10, 2000 at 08:50:34: - feedback #1606

Worth:
Very worth reading

Comments:
I like the example and am trying to get it to work. However, the script in the the controlpage.html does not recognize the frame that the pagetoprint.html is loaded into.
Any help?


Sent by David Durose on November 15, 2000 at 19:16:47: - feedback #2010

Worth:
Very worth reading

Comments:
I got an access is denied error when I tried to run your sample locally. The error popped up right after i clicked on print. Got any ideas?

Thanks,
David Durose


Sent by Andre on December 01, 2000 at 15:25:45: - feedback #2088

Worth:
Very worth reading

Length:
Just right

Technical:
Just right

Comments:
This works fine on Netscape, but on IE 5.5 the controlpage.htm page prints instead of the pagetoprint.htm page.

I tried using top.frame instead of parent.frame, but that still didn't work.

Is this a problem with IE?
Thanks.


Sent by Karen Currier on January 12, 2001 at 04:55:40: - feedback #2233

Comments:
I was so pleased to find this answer, as it seems to fit a current problem I have. However, I can't get it to work properly. The code just seems to want to print the controlpage not the pagetoprint. I've followed the instructions. What am I doing wrong? Should the pagetoprint.html be specified in the code as well as in the frameset? What determines which page the parent.frames refers to?

Thanks


Sent by leigh willcox on March 25, 2001 at 22:53:01: - feedback #2537

Worth:
Very worth reading

Comments:
I have also spent a lot of time trying to get this working in IE5 and looking for an alternative solution. I found it in FAQ 1525 in the response submitted by Sebastien Anselment. Short, Simple and it works.


Sent by Annie on June 08, 2001 at 21:03:38: - feedback #2818

Worth:
Worth reading

Comments:
HI,

I would like to thank you for answer to this FAQ solve part of my problem. Anyway, I found that the code is only work in Nestcape but not in IE 4.7+.

So, may I know that is there any solution/suggestion to my problem??


Regards,
Annie


Sent by Dale Wilson on June 21, 2001 at 16:31:30: - feedback #2877

Worth:
Worth reading

Comments:
The reason this doesnt work in IE5 is because the frame that is supposed to print is not the frame with current focus therefore even though the javascript works, when it pops up the print dialog and says print the current frame it believes the current frame is the control page.
Im still lookin for a good solution.


Sent by steve on July 03, 2001 at 15:04:14: - feedback #2936

Worth:
Worth reading

Length:
Just right

Technical:
Just right

Comments:
For IE you have to set the
frame focus before you call
the .print()

parent.framename.focus();
parent.framename.print();


Sent by YuYu Tseng on August 08, 2001 at 23:53:54: - feedback #3067

Technical:
Not technical enough

Comments:
hello~
I have tried the script to print the page.
But I found that it didn't work.
I devided two subframes(print_frame, control_frame) in my main frameset just as your description.
I print the "print_frame", but I got a two pages printout. One page is the content of the control_frame and the other is the print_frame.
I am so troubled, and wondered if there any problem of the window.print() in frame??
Thanks for your answer~ :)


©2018 Martin Webb