Even better would be if autoResize
in latest branch would work as intended, but till then the question is simple: how to resize a dialog once it is created?
$('#dialog').dialog().animate({width: "700px"}, 400);
I've used this for dynamically resizing dialogs.
The answer from is Soviut is correct for v1.5. 1.6
adds an option
method to each plugin:
$(document).ready(function(){
var d = $("#example").dialog();
d.dialog("option", "width", 700);
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With