1. #1
    Touch Premium Member
    Join Date
    Mar 2007
    Posts
    60
    Vote Rating
    1
    Ramsay is on a distinguished road

      0  

    Default LoadMask for iframe

    LoadMask for iframe


    I have a BorderLayout containing a ContentPanel with an iframe in it. Is there any way I can add a load mask to this? And if I later have to refresh the iframe, how do I do that with a loadmask?

  2. #2
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,561
    Vote Rating
    384
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    Mask the parent div of iframe. I guess you have to mask and unmask programmatically.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  3. #3
    Ext User
    Join Date
    Apr 2007
    Location
    Houston, TX
    Posts
    15
    Vote Rating
    0
    neror is on a distinguished road

      0  

    Default


    Mask the parent div of iframe.
    Then add the unmask for the parent div to the "onload" event for the iframe. E.g.:

    Code:
    Ext.get('iframe-id').on('load', function() { Ext.get('iframe-wrapper-div').unmask(); });

  4. #4
    Sencha User
    Join Date
    Oct 2007
    Posts
    222
    Vote Rating
    0
    ByteLess is on a distinguished road

      0  

    Default


    any smatter way doing this in EXTJS4?

Thread Participants: 3