Hello Richard, and thanks for your answer!
I'm a newbie on jQuery and trying to learn every day. Sorry to ask, I (think) did what you said, but it seems I'm doing something wrong because the dialog doesn't resize at all. This is what I did:
$(function() {
//Configure the dialog
$("#flashcontent").dialog({
height: 768,
width: 1024,
modal: true,
autoOpen: false,
title: "Editing Maps from jQuery UI"
});
// Resize the dialog
$(window).resize(function(){
$("#flashcontent").dialog('option', 'height', $(window).height() - 100);
$("#flashcontent").dialog('option', 'width', $(window).width() - 100);
});
//Assign the event to show in the click event of the button
$("#open-map").click(function(){
$("#flashcontent").dialog("open");
ShowMap();
});
});
Would be great if you can give me a little push on this, thanks a lot!
Sebastian