Doh!
| From: | GodFoca | Date: | Mon, 07 Jun 2004 16:04:37 +0000 |
| Subject: | Doh! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-187801@lists.php.net to get a copy of this message | ||
Well, I found out why it wasn't working....
The frameset had the frame named "pritableFrame" instead of "printableFrame"
.... so the reference was erroneous.
The following works ok:
<script>
function printFrame(f) {
parent.f.focus();
parent.f.print();
}
</script>
...
<a href="javascript: printFrame('printableFrame');">Print the Other
Frame</a>
Greetings and thanks,
Nicolas