Home > Web Front-end > JS Tutorial > body text

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

WBOY
Release: 2016-05-16 16:11:36
Original
1392 people have browsed it

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.

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template