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> 
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
Post a Comment