Javascript passing value to open window
<p>How do i go about passing the value of width ,height,resize received as parameter to window.open using javascript?</p>

<p>Thanks</p>

<p>Example</p>

<pre><code>function poponload(mywidth,myheight,resizeVal)
{
   testwindow = window.open ("http://www.yahoo.com", "mywindow","location=1,status=1,scrollbars=1,width=+mywidth+,height=myheight,resizeVal");
   testwindow.moveTo(0,0);
}

&lt;body onload="javascript: poponload(200, 500,yes)"&gt;
</code></pre>
