Messagebox with a time-out

Hi,
is there a way to display a messagebox, which will disapear after some seconds??

As far as I realised the Pluging “dialogs” does need a least one click to remove the message box

Thanks
Ralf

Hi Ralf,

Which client ? (smart,web,ng)

The dialog plugin needs a click to close.
But if you show a form, you could dismiss it after a few seconds.

Look at the scheduler plugin.

Something like:

function onShow(){
    var start = new Date();
    start.setMilliseconds(start.getMilliseconds() + 5000); // in 5 seconds
    plugins.addJob('myJob', start, closeDialog);
}

function closeDialog(){
    application.closeAllWindows() // will close all dialogs and windows except main
}

Also for NG consider something like svyBlockUI or webnotifications