Hmmm. I could have sworn that was what was told to me to do before. Things
must have changed. I don¹t see autoResize in the documentation. Shouldn¹t I
have it at true if I want the dialog to resize itself to the new content?


On 11/12/08 10:40 AM, "Richard D. Worth" <[EMAIL PROTECTED]> wrote:

> height: "auto" is not a supported option, so you may get unexpected results.
> Have you tried autoResize: false? Let me know if that doesn't work for you.
> 
> - Richard
> 
> On Wed, Nov 12, 2008 at 1:08 PM, Shelane <[EMAIL PROTECTED]> wrote:
>> 
>> I have a dialog with height defined as auto. The same dialog is
>> reused, but new content is fetched based on the link that is clicked.
>> What the dialog seems to be doing is basing the height of the the
>> content that is first returned and not as subsequent links are clicked
>> resulting in the dialog height being much too tall or much too short
>> for the secondary content. I upgraded it to 1.6rc2 with the same
>> results.  Here is my code:
>> 
>> $("#modal").dialog({autoOpen: false, height: "auto", title: "Training
>> Requirement Status", width: 450, modal: true, overlay: { opacity: 0.5,
>> background:"black" }});
>>     $(".modal").click(function(){
>>         var page = $(this).attr("href");
>>         openDialog(page);
>>         return false;
>>     });
>> 
> 
> 
> > 
> 



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to