Dialog resize issue
Contents resize not how I would expect
by dwaddell
HTML
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/themes/smoothness/jquery-ui.css">
<script src="http://jquery-ui.googlecode.com/svn/tags/1.8.7/ui/jquery-ui.js"></script>
<!-- This example is not complete -->
JavaScript
var $Dialog_div;
$Dialog_div = $('<div id=\'ThisDialog\'>Hello</div>').prependTo('body');
$Dialog_div = $('#ThisDialog').dialog({
autoOpen: true,
draggable: true,
resizable: true,
title: 'Dialog',
//modal: true,
//stack: true,
height: ($(window).height() * 0.95),
width: ($(window).width() * 0.9),
open: function ()
{
},
buttons: {
'OK': function() {
$Dialog_div.dialog('close');
}
}
});