javascript - blockui overlay not covering whole page? -


i using blockui "wait ... loading" pop up. working fine, has 1 small issue: overlay covering captured screen, not scroll window. if scroll right, width not covered (but height covered fully).

i have width has problem.

<script language="javascript" type="text/javascript">     $(document).ready(function () {         jquery('#myalert').click(function () {             jquery.blockui({ message: '<center> <img src="/_layouts/1033/styles/ajax-loaderbar.gif" alt="loading.." />                 <br />  <font size="2" face="arial" >                 <b> please wait... </b></font></center><br />                  <font size="2" face="arial" ><b>while load information.</b></font>'});         });     }); </script> 

enter image description here

the blocking element should immediate child of body tag. should nested this:

<html>  <!-- etc -->  <body>   <div id="dommessage"></div>   ... 

and not this:

<html> <!-- etc -->  <body>   <div id="some-other-div">    <div id="dommessage"></div>   </div> ... 

Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -