print window button

admin

Administrator
Staff member
I am making a popup window which will have no toolbars or buttons across the top, and in the window I'll have a photo and a clickable graphic of a printer. How can I get the button to print the window when clicked? Is this possible?<br />
:hotbounce:<!--content--><a href=http://www.htmlforums.com/archive/index.php/"#" onClick="document.print();"><img src=""></a><!--content-->Cheers Dr. Web, but I can't get it to work. Could you have a quick look at this <!-- m --><a class="postlink" href="http://www.fleetauctiongroup.com/html/contact/print_page_problem.htm">http://www.fleetauctiongroup.com/html/c ... roblem.htm</a><!-- m --> and see what I've done right.<br />
Thanking you in advance.<br />
<br />
Rob.<!--content-->I think it might be window.print(). Also I think you can get away with just print(), but you'd have to check that.<!--content-->Thanks alot guys - sorted!<br />
<br />
Rob.<!--content-->
 
Back
Top