Basically all my confusion is in this line:
I'm thinking that setTimeout waits 33 milliseconds and then calls the animate() function, which passes the current time. I was told I'm misinterpreting this.
setTimeout("animate(" + new Date().getTime() + "," + TimeToSlide + ",'"
+ openAccordion + "','" + nID + "')", 33);
I just don't understand what is meant by "new Date().getTime() is evaluated at timeout-setting time, not at timeout-calling time."
Also what is meant by the "last animation iteration"?
I been trying to understand this for a couple days. Thanks for any response.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread