I use jQuery to create a Popup Window (UI). If I use the code below, I just have a hadcoded height of 600px. Is there a way, how I can pass a variable to the height parameter?
myFrame.dialog({
title: "Foto-Upload",
width: 570,
height: 600,
modal: true,
buttons: {
"Schließen": function() {
$(this).dialog("close");
}
},
closeOnEscape: true,
resizable: false
});
Get or set the width option, after init.
RTM: http://jqueryui.com/demos/dialog/#option-width