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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to