[jQuery] Sliding Animation Error(s)
Hello people,
I'm trying to develop an animation to swap my contents.
Former I tried to use Interface pugin ad follows:
...but Firebug said:
this.options.curAnim has no properties
(no name)()jquery.js (line 11)
t()jquery.js (line 11)
(no name)()jquery.js (line 11)
[Break on this error] eval(function(p,a,c,k,e,r){e=function(c)
{return(c<a?'':e(parseInt(c/a)))+((c=c%a...
So I tried to make a workaround "by hand":
element.css({
left: content.width()+"px",
display: "block"
});
var delta = "-="+alreadyDisplayed.width()+"px";
alreadyDisplayed.animate({
left: delta,
opacity: "hide"
}, { duration: 700 });
delta = getCorrectContentLeft();
element.animate({
left: delta,
opacity: "show"
});
...but, again, Firebug says NO!
too much recursion
[Break on this error] eval(function(p,a,c,k,e,r){e=function(c)
{return(c<a?'':e(parseInt(c/a)))+((c=c%a...
Why???
Thank you very much,
Marco