You can hide it with css:

.ui-dialog-titlebar { display: none; }

If you want to scope it to a specific class of dialogs, rather than all
dialogs, you can combine with the dialogClass option:

http://docs.jquery.com/UI/Dialog#option-dialogClass

.message .ui-dialog-titlebar { display: none; }
...
$("#dialog").dialog({ dialogClass: "message" });

Finally, if you really want to remove the elements, rather than just hide
with css:

$("#dialog").dialog().parents(".ui-dialog").find(".ui-dialog-titlebar").remove();

Note: there's a separate list for jQuery UI plugins:

http://groups.google.com/group/jquery-ui

should you have any further questions.

- Richard

On Thu, Apr 2, 2009 at 11:47 AM, ggerri <a...@ggerri.com> wrote:

>
> Hi there
>
> want to show a 'please wait' dialog with UI dialog, but cant figure
> out how to remove the title and the X (close dialog) as the dialog
> should auto-close after the content is loaded...
>
> Pleeaaaseeee... ;-)
>
> thanks :-)
> Gerald

Reply via email to