[jquery-ui] Re: Dialog close link

2008-12-17 Thread Nikola
1) You can edit the CSS and give the font a size of 0. .ui-dialog-titlebar-close {font-size: 0px;} 2) To globally remove the X search for this line in the jQuery.UI.js and simply delete the "X": .append('X') --~--~-~--~~~---~--~~ You received this message because

[jquery-ui] Re: Dialog close link

2008-11-11 Thread Victor Petrov
One could declare a generic .panel class in CSS: .panel .ui-dialog-titlebar-close { display:none } and then create the dialog as $ ("#myDiv").dialog({dialogClass:"panel"}); Victor On Oct 23, 5:29 am, "Richard D. Worth" <[EMAIL PROTECTED]> wrote: > There isn't currently a way to disable it bein

[jquery-ui] Re: Dialog close link

2008-10-24 Thread Richard D. Worth
Good idea: http://docs.jquery.com/UI/Dialog#How_do_I_prevent_the_close_button_.27X.27_from_being_added_to_the_dialog_.3F Thanks. - Richard On Thu, Oct 23, 2008 at 11:06 PM, Jaime Ochoa Malagón <[EMAIL PROTECTED]>wrote: > > this should go to the FAQ? > > On Thu, Oct 23, 2008 at 6:02 AM, Spot <[

[jquery-ui] Re: Dialog close link

2008-10-23 Thread Jaime Ochoa Malagón
this should go to the FAQ? On Thu, Oct 23, 2008 at 6:02 AM, Spot <[EMAIL PROTECTED]> wrote: > > 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; } >> >

[jquery-ui] Re: Dialog close link

2008-10-23 Thread Spot
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: > > $("#my

[jquery-ui] Re: Dialog close link

2008-10-23 Thread Richard D. Worth
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-di