You have to put in in the body and it displays a :
<form>
<p><input type="button" name="printWhole" value="Print" onClick="parent.print()"></p>
</form>
If using frames you need to:
****Create 1 page w/ the frame that you will probably have the navigation in:
<HTML>
<HEAD>
<TITLE>window.print() method</TITLE>
</HEAD>
<FRAMESET ROWS="25%,75%">
<FRAME NAME="controls" SRC="buttonpage.htm">
<FRAME NAME="display" SRC="contentpages.htm">
</FRAMESET>
</HTML>
****Create another page (this is called buttonpage.htm in the code above):
<HTML>
<HEAD>
<TITLE>Print()</TITLE>
</HEAD>
<BODY>
<FORM>
<INPUT TYPE="button" NAME="printWhole" VALUE="Print Entire Frameset" onClick="parent.print()"><P>
<INPUT TYPE="button" NAME="printFrame" VALUE="Print Bottom Frame Only" onClick="parent.display.print()"><P>
</FORM>
</BODY>
</HTML>
****Then create your content pages and enter the page name in the first code your wrote for DISPLAY
Line reads: <FRAME NAME="display" SRC="contentpages.htm">
If you want I can e-mail you a sample of the pages just send me an e-mail and I'll send you the zip
Hope this helps s-)
Jay
Get The Exposure Your Web Site Deserves