jQWidgets Forums

jQuery UI Widgets Forums Dialogs and Notifications Window prevent popup dialog flash

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 13 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • prevent popup dialog flash #3353

    TomZ
    Participant

    If I do $(‘#loginDialog’).jqxWindow({….. and then $(‘#loginDialog’).jqxWindow(‘hide’); the dialog box flashes before it is hidden.

    How can it be created as hidden to avoid the flash?

    Z

    prevent popup dialog flash #3357

    Peter Stoev
    Keymaster

    Hi TomZ,

    During the initialization, set the ‘autoOpen’ property to false.

        $('#eventWindow').jqxWindow({ autoOpen: false, maxHeight: 150, maxWidth: 280, minHeight: 30, minWidth: 250, height: 145, width: 270,
    theme: theme, resizable: false, isModal: true, modalOpacity: 0.3,
    okButton: $('#ok'), cancelButton: $('#cancel')
    });

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.