Menuoptions work in IE, Chrome, FF but not in Safari
<p>I have a small piece of code that seems to work fine in IE, FF and Chrome but does something weird when I run it in Safari. The code is below. This is what happens. Once the popup-window has appeared in all four browsers, I can use every normal menu option, but in Safari. In Safari I do see the options, but cannot click them. They seem dead, nothing happens. Should something specific be coded for Safari to be able to use the menuoptions there? </p>

<p>Thanks for any help, I've been looking around the web for similar cases but couldn't find anything alike. </p>

<p>Before you ask: yes, I know I can print from the primaryscreen, but this is only ment to be an example, extracted from a bigger project. There I only want to print a specific -element, not the rest of the webpagestuf (banners, etc). So with the printbutton I get a clean view of what really needs to be printed.</p>

<pre><code>&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Some test&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;script type="text/javascript"&gt;
function process_print() {

    var content = document.getElementById("pform").innerHTML;

    childWindow = window.open('','child','location=yes, menubar=yes, toolbar=yes');

    childWindow.document.open();
    childWindow.document.write('&lt;html&gt;&lt;head&gt;&lt;title&gt;testform&lt;/title&gt;&lt;/head&gt;&lt;body&gt;');

    content=content.replace('name="Editbox1" value=""','name="Editbox1" value="'+ document.getElementById('Editbox1').value +'"');
    childWindow.document.write(content)
    childWindow.document.write('&lt;/body&gt;&lt;/html&gt;');
    childWindow.document.close();
}
&lt;/script&gt;
&lt;div id='pform'&gt;
&lt;input type="text" id="Editbox1" style="position:absolute;left:150px;top:68px;width:205px;height:18px;border:1px #C0C0C0 solid;font-family:Courier New;font-size:13px;z-index:1" name="Editbox1" value=""&gt;
&lt;div id="wb_Text1" style="margin:0;padding:0;position:absolute;left:84px;top:67px;width:47px;height:16px;text-align:left;z-index:2;"&gt;
&lt;font style="font-size:13px" color="#000000" face="Arial"&gt;naam&lt;/font&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;input type="submit" id="Button1" onclick="process_print();return false;" name="" value="print" style="position:absolute;left:383px;top:68px;width:69px;height:22px;font-family:Arial;font-size:13px;z-index:3"&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
