This version is old school.
Please find jQuery plugins on npm.
Div Swapping Banner
jQuery plugin for having a row of images and some div blocks that appear depending on which image is selected. It can be set to auto scroll through each image. All CSS is handled by the plugin.