If anyone is curious about this. I wound up using http://jquery.malsup.com/cycle/ in the end. It has been suggested here before. I achieved the background color change by using a callback to my own function using the following code:
<script type="text/javascript">
$(document).ready(function() {
$('.slideshow').cycle({
fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
timeout: 5000,
speed: 500,
before: midBG,
after: finalBG
});
});
var fbgcolor = new Array("#313131","#000","#00040F","#FFF");
var fcurrentAd = 0;
var fimgCt = 4;
function finalBG() {
if (fcurrentAd == fimgCt) {
fcurrentAd = 0;
}
var fdiv = document.getElementById('banner_bar');
fdiv.style.backgroundColor=fbgcolor[fcurrentAd]
fcurrentAd++;
}
var mbgcolor = new Array("#989898","#191919","#000208","#808287");
var mcurrentAd = 0;
var mimgCt = 4;
function midBG() {
if (mcurrentAd == mimgCt) {
mcurrentAd = 0;
}
var mdiv = document.getElementById('banner_bar');
mdiv.style.backgroundColor=mbgcolor[mcurrentAd]
mcurrentAd++;
}
</script>
It maybe a bit crude but it does work. I will keep posting here as if I make any changes or improvements! Thanks for you advice guys.
~Matt