Stumbled Upon: Creating Sequential Animations With jQuery
Stumbled Upon: Creating Sequential Animations With jQuery
While randomly searching through YouTube one day during a fit of boredom, I came across a video tip by
Jeffrey Way from
Nettuts+ on how to easily create sequential animations with jQuery. Though the
original post was published in 2010, I thought it be worth sharing because this simple snippet can be quite useful.
In past projects, I would resort to either creating a bloated
switch
statement or a bunch of successive callback functions. Obviously both of these approaches can create code difficult to read and maintain. A far more practical approach would be to use
arguments.callee
.
Check out the video!
Interested in Laravel?