I don't think duration in the dialog show/hide effects is supported
yet in 1.7.2.  At least it's not clear on the main documentation page.

http://jqueryui.com/demos/dialog/#option-hide


On Nov 24, 11:33 am, Tractor Guy <[email protected]> wrote:
> When I add the duration after the type of effect, the effect defaults
> back to the default value but the duration works. Does anyone see the
> error in the show/hide lines in the code below? Thanks
>
> $('#dialog2').dialog({
>                 autoOpen: false,
>                 bgiframe: true,
>                 modal: true,
>                 show: ('fold', 2000),
>                 hide: ('fold', 500),
>                 width: 600,
>                         buttons: {
>                                 "Yes": function() {
>                                         $(this).dialog("close");
>                                 },
>                                 "No": function() {
>                                         $(this).dialog("close");
>                                 }
>                         }
>                 });

--

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