Forum Moderators: coopster
The option in question is used to print forms, and I use the browser Print Preview for the page setup. It's all pretty useless if I have the page and iframe content in my preview.
I thought using header() would do the trick.
Any ideas?
<a href="mypage.html" target="_top">Show in its own window</a>
If you want to be sure that the page always shows in its own window or you don't want to use a deprecated attribute, you can use some javascript
<script type="text/javascript">
function ownWindow()
{
if (top.location!= location) {
top.location.href = document.location.href ;
}
</script>
<body onload="ownWindow">
Something like that. I'm not really a javascript guy, so you might need to fiddle.
For someone who really knows about javascript, go to quirksmode.org
[quirksmode.org...]