Answer the question
In order to leave comments, you need to log in
How to make the window open in a small size (Window.open)?
There is such a script
$(document).on("click", "#auth", function () {
win = window.open("/auth.php, "", "height=430,width=605,top="+((screen.height-430)/2)+",left="+((screen.width-605)/2)+",resizable=no,scrollbars=yes,status=no")
check();
return false;
})
Answer the question
In order to leave comments, you need to log in
If your code is the same, then there is an error
in it
And so everything is correct. A string with a height and width that specifies the size of the new window
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question