Please enable / Bitte aktiviere JavaScript!
Veuillez activer / Por favor activa el Javascript![ ? ]
How to make the page under the pop-up it was impossible to scroll? - bug-code.com Q&A

How to make the page under the pop-up it was impossible to scroll?

0 like 0 dislike
39 views
There is a page scroll if you open the hit (position:fixed), it is necessary that the content under the pop-up is not scrolled. How is it possible to do this without having to hang on body overflow:hidden?
asked by | 39 views

3 Answers

0 like 0 dislike
Such is the exotic option.
answered by
0 like 0 dislike
Try the body.style.overflow = 'hidden' while in advance put the body tag into a variable body, not to write the document
answered by
0 like 0 dislike
When you call modelki, sign up for the event to scroll the desired item, and cancel it. When you close, cancel
answered by
Welcome to Bug-code Q&A, where you can ask questions and receive answers from other members of the community.

24.8k questions

46.2k answers

0 comments

12.7k users

24,788 questions
46,220 answers
0 comments
12,718 users