Just pass the name of the effect as a string like this:
$(function() {
$("#dialog").dialog({
bgiframe: true,
height: 140,
show: 'slide',
buttons: {
Ok: function() {
$(this).dialog('close');
}
}
});
});
Although, I did notice it appears to not work correctly with shadow
enabled on the dialog. The effect does not get applied to the
shadow. Maybe a bug?
On Feb 4, 12:35 pm, Krittick <[email protected]> wrote:
> I'm just curious as to the proper syntax for changing the effect of
> when the dialog is displayed. I'd like something akin to sliding the
> dialog into view, but I'm not sure what syntax to use on the "show:"
> line.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---