title: jQuery slideshow customisation
body: <p>The following slideshow works well, however by I adding a data-attribute on each img tag I would like to change the background color of the body to match the background of each image.</p>
  
  <p>How can I achieve this?</p>
  
  <p><a href="http://jsfiddle.net/L62Ja/12/" rel="nofollow">http://jsfiddle.net/L62Ja/12/</a></p>
  
  <pre><code>            $next.css({opacity: 0.0})
                  .addClass('active')
                  .animate({opacity: 1.0}, 1000, function() {
                                      // data attribute to change the body bg color
                      $active.removeClass('active last-active');
                  });
  </code></pre>