iFrames and printing

liunx

Guest
How can I get it so that when I print a page in an iFrame, it prints what it's the frame (excluding the frame itself) but shows the URL of the frame and not the actual source of what's inside the frame. I have a cheesey script below to show what I am trying to do...<br />
<br />
Frame source:<br />
<html><br />
<iframe frameborder="0" marginheight="0" marginwidth="0" height="100%" width="100%" src=http://www.webdeveloper.com/forum/archive/index.php/"simple main.html" scolling="no" name="main" framespacing="0"><br />
</iframe><br />
</html><br />
<br />
Target source:<br />
<html><br />
<body onContextMenu="return false;"><br />
<a onclick="window.print();return false" href=http://www.webdeveloper.com/forum/archive/index.php/"#">Print this page</a><br />
<center><b>This is garbage</b></center><br />
</body><br />
</html><br />
<br />
Any ideas? <br />
<br />
Thanks!<br />
<br />
Tom<!--content-->Perfect. Thanks Dave!<br />
<br />
Tom<!--content-->
 
Back
Top