[jQuery] Re: UI dialog resize (width & height settings)

2009-05-21 Thread Richard D. Worth
Yup $("#myDiv").dialog("option", { width: newXX, height: newYY }); - Richard On Thu, May 21, 2009 at 11:46 AM, c.sokun wrote: > > cool! I will try that is it possible to call it in just one line? > > On May 18, 6:55 pm, "Richard D. Worth" wrote: > > You can only call .dialog({ width: XX, heig

[jQuery] Re: UI dialog resize (width & height settings)

2009-05-21 Thread c.sokun
cool! I will try that is it possible to call it in just one line? On May 18, 6:55 pm, "Richard D. Worth" wrote: > You can only call .dialog({ width: XX, height: YY }) once. That's an init. > After that you can change the width and height by calling dialog's option > method, specifying the option

[jQuery] Re: UI dialog resize (width & height settings)

2009-05-18 Thread Richard D. Worth
You can only call .dialog({ width: XX, height: YY }) once. That's an init. After that you can change the width and height by calling dialog's option method, specifying the option you want to change, and the new value: $("#myDiv").dialog("option", "width", newXX); $("#myDiv").dailog("option", "heig