How to disable or blur background screen? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to disable or blur background screen?

when dialog box appears on webpage how to disable or blur background window until dialog is open..is there any function?

1st Nov 2018, 12:57 PM
Raghu M
Raghu M - avatar
6 Answers
+ 4
Raghavendra Mirashi, Best way to acomplish this is to create a modal box. This way you can make it totaly your design with your features. Here is a snippet of a modal box that will disable the area around the modal box and give a nice opacity effect. Hope this will help👍 https://code.sololearn.com/W454f7IK92kq/?ref=app
1st Nov 2018, 11:45 PM
🌴Vincent Berger🌴
🌴Vincent Berger🌴 - avatar
+ 2
thanks
2nd Nov 2018, 3:57 AM
Raghu M
Raghu M - avatar
+ 1
when my popup window opens then it has to disable or blur the background window
3rd Nov 2018, 12:04 PM
Raghu M
Raghu M - avatar
+ 1
Is there any function to disable or blur entire window?
3rd Nov 2018, 12:11 PM
Raghu M
Raghu M - avatar
+ 1
using with condition in JavaScript
3rd Nov 2018, 12:12 PM
Raghu M
Raghu M - avatar
+ 1
thanks I will try to do so
3rd Nov 2018, 12:16 PM
Raghu M
Raghu M - avatar