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 Unanswered: 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,336
    Answers
    3885
    Vote Rating
    1296
      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
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,336
    Answers
    3885
    Vote Rating
    1296
      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
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Posting Permissions

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