jQWidgets Forums

jQuery UI Widgets Forums Dialogs and Notifications Window Bringing a window to the front.

This topic contains 1 reply, has 1 voice, and was last updated by  BrentH 10 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Bringing a window to the front. #62394

    BrentH
    Participant

    I have window A. Window A has an icon that opens up Window B.
    Window B is over the top of Window A, but Window B always appears behind. Even if the function contains a call to the ‘bringToFront’ method.
    How else can I get Window B to appear over the top of Window A?

    $('#openFindWindow').mousedown(function () {
            if (! $('#findWindow').jqxWindow('isOpen')) {
                $('#findWindow').jqxWindow('expand');
                $('#findWindow').jqxWindow('open');
                $('#findWindow').jqxWindow('bringToFront');
            } else {
                $('#findWindow').jqxWindow('close');
            }
        });
    Bringing a window to the front. #62395

    BrentH
    Participant

    OK, I answered my own question. I should use the mouseup function instead of the mousedown.

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

You must be logged in to reply to this topic.