« Back
You are in :
Recent Topics »
Developing jQuery UI »
jquery ui dialog extended with minimize, restore and maximize buttons
Re: jquery ui dialog extended with minimize, restore and maximize buttons
by
on 28-Jan-2010 07:43 AM
so...any ideas?
Re: jquery ui dialog extended with minimize, restore and maximize buttons
by
on 28-Jan-2010 08:32 AM
Try setting draggable to false and resizable to false. If it doesn't work to do that, it should be considered a bug.
Re: jquery ui dialog extended with minimize, restore and maximize buttons
by
on 28-Jan-2010 08:44 AM
Hi Richard,
I won't do this at dialog start (eg: dialog({resizable:false}) because i want to be able to resize unless the dialog is minimized.
I tried to set minimize and draggable to false, during my minimize method:
this.uiDialog.data("resizable", false);
this.options.resizable = false;
But no effect. Am I doing wrong?
Thanks,
Carlos
I won't do this at dialog start (eg: dialog({resizable:false}) because i want to be able to resize unless the dialog is minimized.
I tried to set minimize and draggable to false, during my minimize method:
this.uiDialog.data("resizable", false);
this.options.resizable = false;
But no effect. Am I doing wrong?
Thanks,
Carlos
Re: jquery ui dialog extended with minimize, restore and maximize buttons
by
on 28-Jan-2010 08:51 AM
use _setOption("resizable", false) so that you get the side effect
Re: jquery ui dialog extended with minimize, restore and maximize buttons
by
on 28-Jan-2010 09:07 AM
no, no effect. once it starts as resizable i can't stop it :(
And i checked this function you said, but it only sets the value in this.option[key] = value. I tried this option, but no effect either.
I can stop the resizable using this:
Any ideia, to turn off this feature after it started?
http://carvalhar.com
And i checked this function you said, but it only sets the value in this.option[key] = value. I tried this option, but no effect either.
I can stop the resizable using this:
- this.uiDialog.data("resizable", false);
- g is undefined
Any ideia, to turn off this feature after it started?
http://carvalhar.com
Re: jquery ui dialog extended with minimize, restore and maximize buttons
by
on 28-Jan-2010 09:34 AM
It also does
and
- var isResizable = uiDialog.is(':data(resizable)'),
and
- case "resizable":
- // currently resizable, becoming non-resizable
- (isResizable && !value && uiDialog.resizable('destroy'));
- // currently resizable, changing handles
- (isResizable && typeof value == 'string' &&
- uiDialog.resizable('option', 'handles', value));
- // currently non-resizable, becoming resizable
- (isResizable || (value !== false && self._makeResizable(value)));
- break;
Re: jquery ui dialog extended with minimize, restore and maximize buttons
by
on 05-Feb-2010 03:34 PM
ok, i resolved this problem by creating a new plugin:
http://carvalhar.com/componente/jQueryDialogr/index.html
bye,
Carlos
http://carvalhar.com
http://carvalhar.com/componente/jQueryDialogr/index.html
bye,
Carlos
http://carvalhar.com
Post Actions


