I'm working on a Tab class. Basically the Tabs animate to fit the content, and this works well. However, now I am trying to use the last tab to load some content dynamically - particularity the last tab. I am using request.html to do this, but my problem is, when the html content loads in the tab, the div doesn't resize to fit the content.
http://jsfiddle.net/jfHWr/ If you look at my Request.HTML call, I think the problem lies here. Also, not sure but how can I use a function within the class in Request.HTML? onSuccess: function(e){ this.adjustReviewHieght(); ?????????????? Can someone take a look and maybe let me know what I might be doing wrong here? I think the call to first resize is being executed before the the Request finishes, should I use chain? how? Thanks in advance.
