I just added a patch to the ticket ( http://dev.jqueryui.com/ticket/2358
) which makes your code work.  I've also started a thread on jquery-ui-
dev to see if anyone has any objections to the implementation.  If
nobody objects, this will land in trunk in a few days and will be
available in 1.8.


On Jun 16, 8:42 pm, Scott González <[email protected]> wrote:
> 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