To start with lets have a brief explanation as to what we’re going to be doing. We have a set of items in a list, and we want to iterate though the list increasing and decreasing the font size. Here’s how it’s done. The Code Firstly we setup three variables that are used in the function, notice that we’re chaining the variables instead of declaring ‘var’ each time which is the optimal way of declaring multiple vars in jQuery. You can adjust the delay and animate values to suit your needs. We then loop through each list item using the […]
↧