The third parameter of window. open sets a piece of code in PHP that does not take effect:
After the new page is opened, the page is displayed in full screen instead of 400*300.
How can I write it here to display the size of the newly opened webpage as required?
Reply to discussion (solution)
Set viewport?
$ ("Form"). click (function (){
Window. open ("page.html", "", "width = 200, height = 200 ")
})
$ ("Form"). click (function (){
Window. open ("page.html", "", "width = 200, height = 200 ")
})
Bytes --------------------------------------------------------------------------------------
This is jQuery? In this case, will window. open in my form not be written in white?
Window. open is not placed in target.
In this way, you can
Window. open is not placed in target.
In this way, you can
Bytes ------------------------------------------------------------------------------------------------------------------------
Yes. thank you ~~
$ ("Form"). click (function (){
Window. open ("page.html", "", "width = 200, height = 200 ")
})
Bytes -------------------------------------------------------------------------------------------
I didn't try it. I don't know if I can do it. The main reason is that the code has been fully pasted downstairs. I just copied it and I am too lazy to think about it ~~