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

Feedback: irt.org FAQ Knowledge Base Q787

Feedback on: irt.org FAQ Knowledge Base Q787

Sent by Mark Lee on May 20, 2000 at 14:41:19: - feedback #1264

Worth:
Worth reading

Length:
Just right

Technical:
Just right

Comments:
Very useful. I noticed that the solution makes use of the ".all" MSIE property. Is there a solution for the Netscape world? I have not as yet been able to get a pointer to the inner frameset that is also compatible with NN. Do you have a solution?


Sent by Dave Joyce on October 14, 2002 at 23:36:54: - feedback #4216

Worth:
Very worth reading

Comments:
I was searching all day for a way to use CSS in framesets. <p>Specifically I was trying to bring up print preview automatically into the frame that I wanted without having to use IE6's print preview drop down box to choose 'Only the selected frame'.
<p>I found sprintX the free version allowed me to specify landscape, but I still had to content with changing the selected display.
<p>I used CSS to set the frames that I didn't want to print to visible: none;
<p>Then I found this js code to resize the frameset.
<p>Here's my code workaround.
function printPre() {
parent.document.all("Nav").all("Content").cols="0,0,*";
parent.document.all("Nav").rows ="0,*";
factory.printing.Preview();
parent.document.all("Nav").all("Content").cols="100,100,*";
parent.document.all("Nav").rows ="50,*";

}
<p>The content I want to print is in the biggest frame so I changed all other frames to '0' and then called the print preview. Then I change them all back. The preview works great and the Print out automatically defaults to "Only selected frame" so the print works too.
<p>Thanks for the solution.

<p>Dave Joyce
<p>PS this is for an internal website using IE6 only. Sometimes it is good to be in a controlling environment.


©2018 Martin Webb