[jQuery] SlideToggleUp, this.options.curAnim is undefined
<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,
I am running into the error "<span class="objectBox objectBox-errorMessage hasTwisty hasBreakSwitch">this.options.curAnim is undefined" for the method SlideToggleUp.
this.options.curAnim[ this.prop ] = true; jquery-1.3b1.js (line 3827).
The problem occurs when I am trying to close a window using this code:
$('#windowMin').bind(
'click',
function()
{
$('#windowContent').SlideToggleUp(300); /// <------ PROBLEM
$('#windowBottom, #windowBottomContent').animate({height: 10}, 300);
$('#window').animate({height:40},300).get(0).isMinimized = true;
$(this).hide();
$('#windowResize').hide();
$('#windowMax').show();
}
);
I can comment out the row that is causing this error but it does not look very nice.
Any ideas how to solve this?
</span><br /><hr />Get news, entertainment and everything you care about at Live.com. <a href='http://www.live.com/getstarted.aspx ' target='_new'>Check it out!</a></body>
</html>