jQWidgets Forums

jQuery UI Widgets Forums Dialogs and Notifications Window jqxWindow > zIndex doesn't works

This topic contains 3 replies, has 2 voices, and was last updated by  foulques.nera 9 years ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • jqxWindow > zIndex doesn't works #84289

    foulques.nera
    Participant

    I use the simple sample of JSFiddle, with two windows :

    <div id='jqxwindow'>
        <div>Header</div>
        <div>Content</div>
    </div>
    <div id='jqxwindow2'>
        <div>Header2</div>
        <div>Content2</div>
    </div>
    $("#jqxwindow").jqxWindow({
        position: {x:0, y:0},
        height: 100,
        width: 300,
        theme: 'energyblue',
        zIndex:9998
    });
    $("#jqxwindow2").jqxWindow({
        position: {x:20, y:20},
        height: 100,
        width: 300,
        theme: 'energyblue',
        zIndex:9999
    });

    This sample (and my own test) does’nt works. When selecting a window (left click), the selected becomes always topmost, even differents zIndex values.

    jqxWindow > zIndex doesn't works #84323

    ivailo
    Participant

    Hi foulques.nera,

    This is the default behavior of the widget.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    jqxWindow > zIndex doesn't works #84340

    foulques.nera
    Participant

    Hello,
    What do you mean by ‘his is the default behavior of the widget.’ ? The principle of zIndex is to force the window order from back to front point of user view.
    I understand that if no zIndex is set, the last selected jqxWindow move front.
    But it is not normal that with different zIndex, I have the same behavior. Is it not a bug ?
    Best regards.

    jqxWindow > zIndex doesn't works #84341

    foulques.nera
    Participant

    To add some complement, I have tried to change ‘zIndex’ with following code :
    $("#" + id)[0].style.zIndex = zIndex;
    The behaviour is not perfect, because jqxMenu can pop-up in back of the jqxWindow, but a ‘zIndex’ behaviour appears.
    Best regards.

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

You must be logged in to reply to this topic.