Rule13
-
Loop/count to provide visual clues
OK... I figured something out to achieve the functionality I'm after. This will set the first span to active and then add/remove the active class when the user cycles through using the previous and next buttons. Since the carousel is a circula…
-
Loop/count to provide visual clues
I got this working with the following code: $('.item-list ul li').each(function(i) { $('.visual-cue p').append(""); }); $('.visual-cue p span:first').addClass('active'); $('#carousel-nex…