The third parameter of window. open is invalid.

Source: Internet
Author: User
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 ~~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.