This is a known limitation which is planned to be improved.

On May 14, 5:08 pm, SweVictor <[email protected]> wrote:
> Hi!
>
> I might be missing something, but I think there is a bug (or
> limitation depending on how you look at it) in the dialog widget's way
> to handle effects. I'm using the "hide" option as the example.
>
> As you all know, one can specify options when creating the dialog, for
> example {hide: 'effectName'}. However, some posts here also talk about
> that it should be possible to specify options like {hide: {effect:
> 'effectName', speed: 1000}}
>
> I have now tried this long and hard and really dont think that works.
> For example, looking into the code of ui.dialog.js, lines 167-169
> says:
>                         self.uiDialog.hide(self.options.hide, function() {
>                                 self._trigger('close', event);
>                         })
>
> This means it would call uiDialog.hide({effect: 'effectName', speed:
> 1000}). And - according to my testing the hide() functions does not
> support sending a hash as argument.
>
> So, should this be possible? Or is it possible? Or is it a bug?
>
> Regards
> Victor
--~--~---------~--~----~------------~-------~--~----~
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