Features / Usability

Features / Usability

Plugin Dialog, "body of plugin" and non-auto initiate

posts: 126817 United Kingdom

Hi Bob

I'd forgotten about this one - needs updating to use bootstrap one day, but still seems to work just about.

These are still jQuery-UI dialogs so you need to refer to the API here: https://api.jqueryui.com/dialog/#method-open

So if the dialog is the first one on the page you could use this to open it:

$("#wpdialog_1").dialog( "open" );

And the options for the show and hide animations can be found here and the full list here

If you get this working and can add anything more to the doc page that would be great! cool