Reputation: 3501
That shows the error I'm getting, I get it no matter what jquery javascript file I'm using, just depends on the line, which happens to be:
this.pos = jQuery.easing[specialEasing || defaultEasing](this.state, n, 0, 1, this.options.duration);
The code that's getting the error:
$("#mainWrapper").show("bounce", { direction:"down", times:"3" }, 300);
Seems to happen with all .effect, however .slide and .fade works fine...
I don't get the error if I refer to it as mainWrapper, rather than #mainWrapper, however the effect still doesn't occur.
Unsure of why it's happening, any ideas? Let me know if you need more information.
Upvotes: 0
Views: 370
Reputation: 2683
Did you remember to load the jQuery UI library?
The "bounce" effect is a part of the jQueryUI lib, have a look here for reference. JSFiddle demo here.
Upvotes: 1
Reputation: 3077
Please try to remove quotes in time property. It accepts integer value not string.
time:3
will solve problem I guess.
Upvotes: 0