1. #1
    Ext User brumby007's Avatar
    Join Date
    Dec 2007
    Posts
    150
    Vote Rating
    0
    brumby007 is on a distinguished road

      0  

    Default In Firefox,The Ext.getBody().mask method doesn't blotted out the whole page.

    In Firefox,The Ext.getBody().mask method doesn't blotted out the whole page.


    Look my screenshot,Sometimes in firebug2,when i called the method Ext.getBody().mask("<img src='images/blue-loading.gif' ALIGN=middle>&nbsp;processing
    Attached Images

  2. #2
    Ext User brumby007's Avatar
    Join Date
    Dec 2007
    Posts
    150
    Vote Rating
    0
    brumby007 is on a distinguished road

      0  

    Default


    Anyone knows?

  3. #3
    Ext User brumby007's Avatar
    Join Date
    Dec 2007
    Posts
    150
    Vote Rating
    0
    brumby007 is on a distinguished road

      0  

    Default


    No one has met the same problem? Am i the first man who met this mini-skirt problem?

  4. #4
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    5
    mystix will become famous soon enough

      0  

    Default


    probably. mine wears a bikini.

    tip: help yourself by giving your thread meaningful titles in future.

  5. #5
    Ext User brumby007's Avatar
    Join Date
    Dec 2007
    Posts
    150
    Vote Rating
    0
    brumby007 is on a distinguished road

      0  

    Default


    Well, Do you know why it is happen?

  6. #6
    Ext User brumby007's Avatar
    Join Date
    Dec 2007
    Posts
    150
    Vote Rating
    0
    brumby007 is on a distinguished road

      0  

    Default


    So strange problem.

  7. #7
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    97
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    Try (untested):

    Code:
    var el = Ext.get(document.documentElement || document.body);
    el.mask(...);

  8. #8
    Ext User brumby007's Avatar
    Join Date
    Dec 2007
    Posts
    150
    Vote Rating
    0
    brumby007 is on a distinguished road

      0  

    Default


    Quote Originally Posted by Condor View Post
    Try (untested):

    Code:
    var el = Ext.get(document.documentElement || document.body);
    el.mask(...);
    Thanks for reply!
    I tested it, and now it can blotted out the whole page, but the wating panel which always in the center has gone to the top left corner.
    Attached Files
    • File Type: δ‎ (16.7 KB, 9 views)

  9. #9
    Ext User brumby007's Avatar
    Join Date
    Dec 2007
    Posts
    150
    Vote Rating
    0
    brumby007 is on a distinguished road

      0  

    Default


    I make a simple test :
    HTML Code:
    <html>
     <head>
      <link rel="stylesheet" type="text/css" href="../resources/css/ext-all.css" /> 
      <script type="text/javascript" src="../adapter/ext/ext-base.js"></script>
      <script type="text/javascript" src="../ext-all.js"></script>
      <script>
        Ext.onReady(function(){
          Ext.getBody().mask('ddd');
        });
        
      </script>
     </head> 
     <body>
      <br><br><br><br><br><br><br>
     </body>
    </html>
    And the screenshot in IE7 and FF2
    Attached Images

  10. #10
    Ext User brumby007's Avatar
    Join Date
    Dec 2007
    Posts
    150
    Vote Rating
    0
    brumby007 is on a distinguished road

      0  

    Default


    The Test2:
    HTML Code:
    <html>
     <head>
      <link rel="stylesheet" type="text/css" href="../resources/css/ext-all.css" /> 
      <script type="text/javascript" src="../adapter/ext/ext-base.js"></script>
      <script type="text/javascript" src="../ext-all.js"></script>
      <script>
        Ext.onReady(function(){
          Ext.get(document.documentElement || document.body).mask('ddd');
        });
        
      </script>
     </head> 
     <body>
      <br><br><br><br><br><br><br>
     </body>
    </html>
    And the screenshot
    Attached Images

Thread Participants: 2