Results 1 to 3 of 3

Thread: Ext.Msg.alert is set behind iframe in IE

  1. #1
    Sencha User
    Join Date
    Apr 2009
    Posts
    24
    Vote Rating
    0
      0  

    Default Ext.Msg.alert is set behind iframe in IE

    Good day,

    I have a panel declaration as this:

    Code:
    panel = Ext.create('Ext.Panel',{id:'preview',title:'Document Preview',frame:true,
                    collapsible:true,
                    //floatable:true,
                    title:'Document Preview',
                    
                    height:'55%',
                    width:'100%',
                    layout:
                    {
                        type:'hbox',
                        align:'stretched'
                    },
                    html:'<iframe id="myframe" width="100%" height="100%" src="_blank" style="z-index:-1"></iframe>'
                    
            });
    When code like Ext.Msg.wait(''....), it is being shown behind the iframe. I set the z-index of the iframe but it is still not making the right result.

    Thank you

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,062
    Answers
    3976
    Vote Rating
    1388
      0  

    Default

    Using your code I do not see this behavior of the Ext.Msg.alert using IE9 and our latest code or 4.0.7.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,062
    Answers
    3976
    Vote Rating
    1388
      0  

    Default

    Also, unless used in BorderLayout, a component does not support height and width specified as a string. It can only be a number
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •