SUPPORT

Author: Mock Webware |

You are not a project, you are a partner. We are always ready to provide guidance and advice after the initial installation. From maintenance to modifications, we will respond with quick, knowledgeable assistance.



READ MORE BLOG ARTICLES

Top
(function($){
$(document).ready(function() {
var classes = [ 'style1', 'style2', 'style3' ]; // the classes you want to add
$('.item').each(function(i) { // the element(s) you want to add the class to.
$(this).addClass(classes[ Math.floor( Math.random()*classes.length ) ] );
});
});
})(jQuery);
view raw random-class.js hosted with ❤ by GitHub