changes on the ui dialog
changes on the ui dialog
I made any changes on the ui dialog and i want to share with all.
Firstly: When the dialog is resizable i add the code above:
uiDialog.resizable({
maxWidth: options.maxWidth, maxHeight: options.maxHeight,
minWidth: options.minWidth, minHeight: options.minHeight,
resize: function(){
uiDialogContent.css('height', uiDialog.height()-38+'px');
}
});
So, the content (with scroll or no) and dialog resize together.
And i add this rule on the .ui-dialog .ui-dialog-content on the
ui.dialog.css
overflow: auto; height: 80%; margin: 0 0.75em;
This changes works fine on IE7, IE6 and FF2.0.
MY ENGLISH IS NOT VERY WELL ;)