Click to See Complete Forum and Search --> : Need Help


Redhead
09-15-2003, 05:25 PM
Hi All

I have a small web site with frames one frame is for nav and the second is for content.

I want to have a print button on it so that it prints only the content in the second frame and with a set size like 4in by 5in or something like that.

Any Ideas

Khalid Ali
09-15-2003, 05:37 PM
if you want to setupp rules for printing,you will need to use CSS

read up
@page{}

rules.

and to print a particular frame you will eed to do 2 things

//first set the focus to the frame

parent.frameName.focus();

//then call the print function

parent.framename.print();