The following code worked for me:
$("body").block({ message: '<h2>Loading...</h2>', overlayCSS: { position: 'absolute', top: '0', bottom: '0', left: '0', right: '0' } }); body { color:
I used the following post as a link: Make a div at 100% of the height of the browser window one modification that I had to do was add left and right. My overlay covered only half the screen.
Kremena lalova
source share