1. #1
    Ext User
    Join Date
    Oct 2008
    Posts
    12
    Vote Rating
    0
    markwagoner is on a distinguished road

      0  

    Question masking

    masking


    I have been prototyping a page, trying to use a modal dialog. Before displaying the dialog I need to request some more data from the server so I would like to disable the page until the data has been loaded and the window displayed.

    Using Ext.getBody().mask() works but the shading only covers the part of the browser actually displaying content (about 2/3 of the total height in this case). Then, when the window appears the shading covers the entire browser area.

    I would like to eliminate this repaint if possible. I tried using Ext.getDoc().mask() but this throws an error.

    Is there some way to get this to work?

    Thanks

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    And this?
    Code:
    Ext.get(document.documentElement || document.body).mask();

  3. #3
    Ext User
    Join Date
    Oct 2008
    Posts
    12
    Vote Rating
    0
    markwagoner is on a distinguished road

      0  

    Default


    That seems to work in Fire Fox but in IE I get no masking at all, just a brief flicker of a scrollbar on the right side of the browser.

    I tried looking into the Ext code to see how Window.show does this but, to be honest, got lost pretty quickly.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar