Forums

Give help. Get help.

  • # January 10, 2014 at 4:45 am

    Hello,

    A single dialog appears above the overlay which is fine, however, when the dialogs stack up the overlay stays behind the dialogs.

    Is there a way I can put the overlay behind the dialog thats stacked on the top?

    I should only ever have 2 dialogs on top of one another.

    Here is the js that calls the dialog:

    var alerter = function (passit) {
    
        $("#dialog-default > p").text(String(passit));
    
        $("#dialog-default").dialog({
    
            buttons: {
    
                "Close": function () {
                    $(this).dialog("close");
                }
            }
        });
    };
    

    CSS for dialog:

    .ui-dialog { z-index: 1000 !important ;}

    Perhaps I could dynamically change the z index somehow?

    Many thanks

    # January 13, 2014 at 12:42 am

    Thanks very much really appreciate it

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag