You can currently only specify the name of the effect, not a hash of
options.  We plan on fixing this (there's already a ticket), but I
can't say when it will happen.

On Jun 15, 1:25 pm, Joshua Langner <[email protected]> wrote:
> Hi there,
>
> I'm getting a problem where the show / hide options on dialog do not
> work and actually cause it to bug out. For example, the following code
> does not work:
>
> $("#dialog").dialog({
>         show: 'drop',
>         hide: {effect: 'drop', direction: 'right'},
>         modal: true,
>         autoOpen: false
>
> });
>
> When the "close" button is clicked, this causes the modal background
> to disappear but the dialog box remains on the screen and will not
> close.
>
> I need to be able to set effect options such as 'direction'. Is this
> not the correct way to do it on dialog boxes?
>
> 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