hi all
i am using this script to open a popup from a webpage when the user clicks an image
Code:
<a href="#" onclick="window.open('f217_printer_friendly.php','popup','width=700,height=800,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false" ><img src="../images/printer.gif" border="0" alt="Printer friendly version of this page" /></a>
i would like when this page appears for it to automatically open the print options box, as if the user had already clicked file, print.
I know its possible because a system we have at work does it, but i cant work out how.
Any help much appreciated.
Found he answer to my own question - anyone else wanting to do this check out this page:
http://www.quackit.com/javascript/javascript_print.cfm