Skip to content

Instantly share code, notes, and snippets.

@ursuleacv
Created September 30, 2013 18:41
Show Gist options
  • Select an option

  • Save ursuleacv/6768176 to your computer and use it in GitHub Desktop.

Select an option

Save ursuleacv/6768176 to your computer and use it in GitHub Desktop.
Jquery dialog before close effect transfer
beforeClose: function() {
var $this = $(this);
$this
.dialog("widget")
.effect("transfer", {
to: "#form-preview",
className: "ui-effects-transfer"
}, 500, function() {
$this.hide();
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment