Printing only the contents of an iframe with javascript

Associate
Joined
2 Aug 2005
Posts
680
Hi

I'm using this script to print out the contents of an iframe:

Code:
<a href="javascript:window.print()">Please click here to print</a>

But on some older versions of Internet Explorer it seems to be printing the whole page, not just the iframe. Does anyone know a way of ONLY printing the iframe? :D

Thanks
Dan
 
Back
Top Bottom