Remove class on IntervaI - Interval Assassin

A lightweight jQuery plugin allowing you to easily remove a class from a set of html elements on a timed interval.

This jQuery plugin allows you specify a class and an interval (in milliseconds), you call it on a parent or wrapping element and it will then find all occurances of that class within the parent wrapper.

The plugin then loops through the elements every X (specified by you) milliseconds, removing one instance of the class per loop.

Once all occurances of the class have been removed the interval cancels itself.

Additional options allow to to control the order : normal, reversed, random;

Download the code