PDA

View Full Version : Print from am IFRAME?


moggymoo
10-01-2002, 12:01 PM
Hi people,

I am currently working on a news feed for our home page. At the moment the plan is to have the news articles loading into an iframe.

What we want to do is have a button on the main page which will print just the story in the iframe (i.e not the whole page)

Is there a way to do that??

Thanks.

beetle
10-01-2002, 04:59 PM
<a href="javascript:top.frames['iFrameName'].window.print();">Print</a>