N
Nicholas
Hello, i need to pass an argument to window.open but it seems it wont work.
What am i doing wrong?
This in in head:
<SCRIPT LANGUAGE="JavaScript">
<!--
function nw(a,b){
myWindow = window.open("", "Window", 'toolbar,width=a,height=b')
//-->
</SCRIPT>
and this is in body:
<input type="button" value="open new window" onClick="nw(500,500)">
The problem is it opens the window but not 500x500 or any other dimension i
put
What am i doing wrong?
This in in head:
<SCRIPT LANGUAGE="JavaScript">
<!--
function nw(a,b){
myWindow = window.open("", "Window", 'toolbar,width=a,height=b')
//-->
</SCRIPT>
and this is in body:
<input type="button" value="open new window" onClick="nw(500,500)">
The problem is it opens the window but not 500x500 or any other dimension i
put