Thanks Richard.

Richard D. Worth wrote:
> There isn't currently a way to disable it being added. You could use 
> css to hide it:
>
> .ui-dialog .ui-dialog-titlebar-close { display: none; }
>
> or if you really want it gone, you can use jQuery to remove it when 
> the dialog is opened:
>
> $("#myDiv").dialog({
>   open:function() {
>     
> $(this).parents(".ui-dialog:first").find(".ui-dialog-titlebar-close").remove();
>   }
> });
>
> - Richard
>
> On Wed, Oct 22, 2008 at 10:17 AM, Spot <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>
>     If this has been addressed already I apologize but I have not been
>     able
>     to find anything in the docs or in this list.
>
>     Is there some way to disable the close 'X' link which appears in the
>     title bar of a Dialog box? I want to remove it completely.
>
>     Thanks.
>
>
>
>
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to