N
N
Nikolay2014-09-21 17:33:29
css
Nikolay, 2014-09-21 17:33:29

How to make the popup extension window fill the entire browser window?

It is necessary to close all the content in the browser window with the popup window when the button is clicked.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Savrasov, 2014-09-23
@tryvols

I won't write a script.
1) Create an absolute positioned block with highest z-index, 100% width
2) Then jquery get the size of the body tag
3) Set the resulting values ​​to the generated div
4) Set the div to display: block;
Everything. You can also disable page scrolling or set the divs to position: fixed;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question