My dialog modeled after Richard's examples displays and responds to buttons.
Unfortunately it's always positioned at 0, 0 in the browser window. Any
ideas?
var $dialog = $('<div></div>')
.html('my message')
.dialog({ autoOpen: false, title: 'my title', position:
'center', bgiframe: true
});
$dialog.dialog('option', 'buttons', buttons);
$dialog.dialog('option', 'position', "center");
$dialog.dialog("open");
--
View this message in context:
http://old.nabble.com/Change-dialog-buttons-tp21832180s27240p28671116.html
Sent from the jQuery UI Discussion mailing list archive at Nabble.com.
--
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.