title: Navbar carousel item background color
body: <p>I have a navabar and carousel in the same section, what i want is when the carousel indicator becomes active it changes the background-color of the navbar and carousel item, any ideas on how to do that using jquery function?
  Here is my jquery code for the indicators:</p>
  
  <pre><code>  $(document).ready(function(ev){
          $('#carousel-example-generic').on('slide.bs.carousel', function (evt) {
          $('#carousel-example-generic .controls li.active').removeClass('active');    
          $('#carousel-example-generic .controls li:eq('+$(evt.relatedTarget).index()+')').addClass('active');        
              });
  </code></pre>