R
roN
Hi,
Why isn't following not working,
well, it opens a windows but not with the size, passed to the function in
variable w & h. Thank you
function open_window(URL,title,w,h)
{ window.open(URL,title,"width=w,height=h,left=100,top=200,menubar=no,resizeable=no,scrollbars=no,status=no,toolbar=no");
}
i call it like:
onclick="open_window('admin.php','Admin',100,100)"
but it's not working as expected, why not? The size is not correct
Thanks for hints!
Why isn't following not working,
well, it opens a windows but not with the size, passed to the function in
variable w & h. Thank you
function open_window(URL,title,w,h)
{ window.open(URL,title,"width=w,height=h,left=100,top=200,menubar=no,resizeable=no,scrollbars=no,status=no,toolbar=no");
}
i call it like:
onclick="open_window('admin.php','Admin',100,100)"
but it's not working as expected, why not? The size is not correct
Thanks for hints!