/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$('.ukn-quote-wall .ukn-quote').each(function(i){ var n = i % 3; $(this).addClass( n == 0 ? 'ukn-style-a' : n == 1 ? 'ukn-style-b' : n == 2 ? 'ukn-style-c' : ''); });