I have been able to implement the Bootstrap carousel complete with icons to represent slides 1-3 in this example:
http://jsfiddle.net/alexmoss/QzVq8/
I notice that the class “active” is added by default to slide 1 which then changes as the active slide changes. what i want to do is have this happen for the bullets too. i have made the first one active but want the second one to become active if the slide itself is on slide 2, etc etc
Basically worked out the index of the currently shown slide, then used that index to apply the ‘active’ class to the respective navigation button.
You can clearly optimise the code to use less variables. However, I’ve deliberately expanded it so that you understand what’s going on.