Home  >  Article  >  Web Front-end  >  JS method to control the position and size of the pop-up new page window_javascript skills

JS method to control the position and size of the pop-up new page window_javascript skills

WBOY
WBOYOriginal
2016-05-16 16:11:361364browse

The example in this article describes the method of JS controlling the position and size of the pop-up new page window. Share it with everyone for your reference. The details are as follows:

I believe many friends want to make a pop-up to pop up announcements or important information, but the position and size of the pop-up window cannot be too large, so today we use JS to control the position and size of the pop-up window. You can make it as large as you want. How big

Copy code The code is as follows:


Specify pop-up window location (IE)



Specify popup window location

I hope this article will be helpful to everyone’s JavaScript programming design.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn