I have a window that is resizable:
$(".question-case-story").resizable(
{ handles:{'s': handle },
alsoResize: ".question-case-inner",
//minHeight: #,
//maxHeight: #,
maxHeight: $(".question-case-story").height(),
resize: function (event, $this) { $(this).css({left:'inherit', top:'inherit'}); }
});
When I click button to do something elsewhere, I want to cause this resize to happen automatically, but to a specific height (the window height). How can I do this?
I found a similar question, but it doesn't address how to set any specifics: How to trigger jquery Resizable resize programmatically?
Same thing here: http://forum.jquery.com/topic/triggering-resize-event-set-by-resizable
I'm running jQuery UI v. 1.9.2
Update: I can't just "set" the new height ($(thing).css('height', whatever)
) because there are other things going on inside that div that interact with the resizable functionality.