0
クリックしたボタンに応じて異なるアニメーションでjQuery UIダイアログを閉じることは(合理的な方法で)可能ですか?ボタンに応じてjQuery UIダイアログが閉じるアニメーションが異なる?
$("#dialog").dialog({
autoOpen: false,
show: "blind",
hide: "explode"
buttons: {
"Delete": function() {
... one animation here ...
$(this).dialog("close");
},
"Cancel" : function() {
... another here ...
$(this).dialog("close");
}
}
});