I am creating a slideshow on my website, the slide show will be a fixed size, however, I am putting the slideshow inside of a DIV that spans the whole width of the screen. What I would like to do is change the background color of the DIV each time a new photo in the slideshow is displayed.
In a previous program I was using the addClass() and removeClass() features but for some reason I can't seem to get a working example.
Can someone help me? I love to be able to read from an XML or JSON file to pass in the image and background color.