print one of the frame instead of 4 frames
hi, i have a page with 4 frames....at the bottom of the page, i have a link 'Print' where user clicked the link, it will print out this page.
how am i suppose to make it to print out one of the frame instead of 4 frames.
i use javascript to print :
echo "<tr><td colspan=2 align=center>";
echo "<a href=\"javascript:window.print()\">Print This Page</a>";
echo "</td></tr>";
any idea??
Suzanne posted this at 03:29 — 20th August 2002.
She has: 5,507 posts
Joined: Feb 2000
You need a function to print the specific frame.
http://javascript.internet.com/page-details/frame-print.html
If the print command is in the frame that is being printed, you may have to fuss with the script a little.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.