Hi Anders,

I wonder if this problem is related to your previous post, in which you appeared to be using the Interface plugin. If you're using a version of jQuery later than 1.1.x, you really should switch over to jQuery UI. http://ui.jquery.com/ It has an effects library as well (cf. http://docs.jquery.com/UI/Effects ), and it won't conflict with jQuery core. jQuery core does not have a SlideToggleUp method.

--Karl

____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com




On Jan 27, 2009, at 4:00 AM, Anders Viklund wrote:

Hi,

I am running into the error "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?


Get news, entertainment and everything you care about at Live.com. Check it out!

Reply via email to